Merge branch 'dev'
This commit is contained in:
commit
53295e9626
@ -0,0 +1,47 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
public enum Agama {
|
||||
ISLAM(1, "Islam"),
|
||||
KRISTEN(2, "Kristen (Protestan)"),
|
||||
KATOLIK(3, "Katolik"),
|
||||
HINDU(4, "Hindu"),
|
||||
BUDHA(5, "Budha"),
|
||||
KONGHUCU(6, "Konghucu"),
|
||||
PENGHAYAT(7, "Penghayat"),
|
||||
LAIN_LAIN(8, "Lain-lain");
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
Agama(long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static Agama valueOf(long id) {
|
||||
for (Agama agama : values()) {
|
||||
if (agama.id == id) {
|
||||
return agama;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,41 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
public enum Bahasa {
|
||||
INDONESIA(1, "Indonesia"),
|
||||
INGGRIS(2, "Inggris");
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
Bahasa(long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static Bahasa valueOf(long id) {
|
||||
for (Bahasa bahasa : values()) {
|
||||
if (bahasa.id == id) {
|
||||
return bahasa;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,44 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
public enum CaraLahir {
|
||||
SPONTAN(1, "Spontan"),
|
||||
SUNGSANG(2, "Sungsang"),
|
||||
EKSTRAKSI_VAKUM(3, "Ekstraksi Vakum"),
|
||||
FORCEPS(4, "Forceps"),
|
||||
SECTIO_CAESAREA(5, "Sectio Caesarea");
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
CaraLahir(long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static CaraLahir valueOf(long id) {
|
||||
for (CaraLahir caraLahir : values()) {
|
||||
if (caraLahir.id == id) {
|
||||
return caraLahir;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
public enum GolonganDarah {
|
||||
A(1, "A"),
|
||||
B(2, "B"),
|
||||
O(3, "O"),
|
||||
AB(4,"AB");
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
GolonganDarah(long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static GolonganDarah valueOf(long id) {
|
||||
for (GolonganDarah golonganDarah : values()) {
|
||||
if (golonganDarah.id == id) {
|
||||
return golonganDarah;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,45 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author Salman
|
||||
* @version 1.0.0
|
||||
* @since 21 Oct 2023
|
||||
*/
|
||||
public enum GolonganResus {
|
||||
POSITIF(1, "Resus positif", '+'),
|
||||
NEGATIF(2, "Resus negatif", '-');
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
@Getter
|
||||
private final char code;
|
||||
|
||||
GolonganResus(long id, String name, char code) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static GolonganResus valueOf(long id) {
|
||||
for (GolonganResus golonganResus : values()) {
|
||||
if (golonganResus.id == id) {
|
||||
return golonganResus;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,44 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author Salman
|
||||
* @version 1.0.0
|
||||
* @since 21 Oct 2023
|
||||
*/
|
||||
public enum HubunganKeluarga {
|
||||
AYAH(1, "Ayah"),
|
||||
IBU(2, "Ibu"),
|
||||
ANAK(3, "Anak"),
|
||||
SUAMI(4, "Suami"),
|
||||
ISTRI(5, "Istri");
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
HubunganKeluarga(long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static HubunganKeluarga valueOf(long id) {
|
||||
for (HubunganKeluarga hubunganKeluarga : values()) {
|
||||
if (hubunganKeluarga.id == id) {
|
||||
return hubunganKeluarga;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,45 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
public enum HubunganPasien {
|
||||
DIRI_SENDIRI(1, "Diri Sendiri"),
|
||||
ORANG_TUA(2, "Orang Tua"),
|
||||
ANAK(3, "Anak"),
|
||||
SUAMI_ATAU_ISTRI(4, "Suami/Istri"),
|
||||
KERABAT_ATAU_SAUDARA(5, "Kerabat/Saudara"),
|
||||
LAIN_LAIN(6, "Lain-lain");
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
HubunganPasien(long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static HubunganPasien valueOf(long id) {
|
||||
for (HubunganPasien hubunganPasien : values()) {
|
||||
if (hubunganPasien.id == id) {
|
||||
return hubunganPasien;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,41 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
public enum JenisAlamat {
|
||||
IDENTITAS(1, "Identitas"),
|
||||
DOMISILI(2, "Domisili");
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
JenisAlamat(long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static JenisAlamat valueOf(long id) {
|
||||
for (JenisAlamat jenisAlamat : values()) {
|
||||
if (jenisAlamat.id == id) {
|
||||
return jenisAlamat;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,56 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
import static com.jasamedika.medifirst2000.etl.pasien.constant.KategoriBerkas.*;
|
||||
|
||||
/**
|
||||
* @author Salman
|
||||
* @version 1.0.0
|
||||
* @since 21 Oct 2023
|
||||
*/
|
||||
public enum JenisBerkas {
|
||||
KTP(1, "KTP", PRIBADI),
|
||||
KK(2, "KK", PRIBADI),
|
||||
SIM(3, "SIM", PRIBADI),
|
||||
PASPOR(4, "Paspor", PRIBADI),
|
||||
KITAS(5, "KITAS", PRIBADI),
|
||||
AKTA_LAHIR(6, "Akta Lahir", PRIBADI),
|
||||
HASIL_USG(7, "Hasil USG", PENUNJANG),
|
||||
HASIL_PA(8, "Hasil PA", PENUNJANG),
|
||||
HASIL_ECHO(9, "Hasil Echo", PENUNJANG),
|
||||
REKAM_MEDIS(10, "Rekam Medis", RMIK),
|
||||
GENERAL_CONSENT(11, "General Consent", RMIK);
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
@Getter
|
||||
private final KategoriBerkas kategory;
|
||||
|
||||
JenisBerkas(long id, String name, KategoriBerkas category) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
this.kategory = category;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static JenisBerkas valueOf(long id) {
|
||||
for (JenisBerkas jenisBerkas : values()) {
|
||||
if (jenisBerkas.id == id) {
|
||||
return jenisBerkas;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,45 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
public enum JenisIdentitas {
|
||||
KTP(1, "KTP"),
|
||||
KK(2, "KK"),
|
||||
SIM(3, "SIM"),
|
||||
PASPOR(4, "Paspor"),
|
||||
KITAS(5, "KITAS"),
|
||||
AKTA_LAHIR(6, "Akta Lahir");
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
JenisIdentitas(long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static JenisIdentitas valueOf(long id) {
|
||||
for (JenisIdentitas jenisIdentitas : values()) {
|
||||
if (jenisIdentitas.id == id) {
|
||||
return jenisIdentitas;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,44 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
public enum JenisKelamin {
|
||||
TIDAK_DIKETAHUI(0, "Tidak diketahui"),
|
||||
LAKI_LAKI(1, "Laki-laki"),
|
||||
PEREMPUAN(2, "Perempuan"),
|
||||
TIDAK_DAPAT_DITENTUKAN(3, "Tidak dapat ditentukan"),
|
||||
TIDAK_MENGISI(4, "Tidak mengisi");
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
JenisKelamin(long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static JenisKelamin valueOf(long id) {
|
||||
for (JenisKelamin jenisKelamin : values()) {
|
||||
if (jenisKelamin.id == id) {
|
||||
return jenisKelamin;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author Salman
|
||||
* @version 1.0.0
|
||||
* @since 21 Oct 2023
|
||||
*/
|
||||
public enum KategoriBerkas {
|
||||
PRIBADI(1, "Pribadi"),
|
||||
PENUNJANG(2, "Penunjang"),
|
||||
RMIK(3, "RMIK");
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
KategoriBerkas(long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static KategoriBerkas valueOf(long id) {
|
||||
for (KategoriBerkas kategoriBerkas : values()) {
|
||||
if (kategoriBerkas.id == id) {
|
||||
return kategoriBerkas;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,41 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
public enum Kewarganegaraan {
|
||||
WNI(1, "WNI"),
|
||||
WNA(2, "WNA");
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
Kewarganegaraan(long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static Kewarganegaraan valueOf(long id) {
|
||||
for (Kewarganegaraan kewarganegaraan : values()) {
|
||||
if (kewarganegaraan.id == id) {
|
||||
return kewarganegaraan;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,44 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
public enum LingkunganKerja {
|
||||
DALAM_RUANGAN(1, "Dalam ruangan"),
|
||||
LUAR_RUANGAN(2, "Luar ruangan"),
|
||||
BERHUBUNGAN_ZAT_KIMIA_BERBAHAYA(3, "Berhubungan dengan zat kimia berbahaya"),
|
||||
BERHUBUNGAN_ZAT_RADIASI(4, "Berhubungan dengan zat radiasi"),
|
||||
KERJA_SHIFT(5, "Kerja shift");
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
LingkunganKerja(long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static LingkunganKerja valueOf(long id) {
|
||||
for (LingkunganKerja lingkunganKerja : values()) {
|
||||
if (lingkunganKerja.id == id) {
|
||||
return lingkunganKerja;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,55 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
public enum Negara {
|
||||
INDONESIA(1, "Indonesia", 62),
|
||||
MALAYSIA(2, "Malaysia", 60),
|
||||
SINGAPURA(3, "Singapura", 65),
|
||||
BRUNEI_DARUSSALAM(4, "Brunei Darussalam", 673),
|
||||
VIETNAM(5, "Vietnam", 84),
|
||||
KAMBOJA(6, "Kamboja", 855),
|
||||
THAILAND(7, "Thailand", 66),
|
||||
FILIPINA(8, "Filipina", 63),
|
||||
MYANMAR(9, "Myanmar", 95),
|
||||
LAOS(10, "Laos", 856),
|
||||
TIMOR_LESTE(11, "Timor Leste", 670),
|
||||
PAPUA_NUGINI(12, "Papua Nugini", 675);
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
@Getter
|
||||
private final Integer phoneCode;
|
||||
|
||||
Negara(long id, String name, Integer phoneCode) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
this.phoneCode = phoneCode;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static Negara valueOf(long id) {
|
||||
for (Negara negara : values()) {
|
||||
if (negara.id == id) {
|
||||
return negara;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,45 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
public enum Pekerjaan {
|
||||
TIDAK_BEKERJA(0, "Tidak Bekerja"),
|
||||
PNS(1, "PNS"),
|
||||
TNI_ATAU_POLRI(2, "TNI/POLRI"),
|
||||
BUMN(3, "BUMN"),
|
||||
PEGAWAI_SWASTA_ATAU_WIRAUSAHA(4, "Pegawai Swasta/Wirausaha"),
|
||||
LAIN_LAIN(5, "Lain-lain");
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
Pekerjaan(long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static Pekerjaan valueOf(long id) {
|
||||
for (Pekerjaan pekerjaan : values()) {
|
||||
if (pekerjaan.id == id) {
|
||||
return pekerjaan;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,48 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
public enum Pendidikan {
|
||||
TIDAK_SEKOLAH(0, "Tidak Sekolah"),
|
||||
SD(1, "SD"),
|
||||
SLTP_SEDERAJAT(2, "SLTP Sederajat"),
|
||||
SLTA_SEDERAJAT(3, "SLTA Sederajat"),
|
||||
D1_SAMPAI_D3_SEDERAJAT(4, "D1-D3 Sederajat"),
|
||||
D4(5, "D4"),
|
||||
S1(6, "S1"),
|
||||
S2(7, "S2"),
|
||||
S3(8, "S3");
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
Pendidikan(long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static Pendidikan valueOf(long id) {
|
||||
for (Pendidikan pendidikan : values()) {
|
||||
if (pendidikan.id == id) {
|
||||
return pendidikan;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,52 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
public enum Sapaan {
|
||||
BAYI(1, "Bayi", 1, 2),
|
||||
ANAK(2, "Anak", 4, 10),
|
||||
NONA(3, "Nona", 11, 21),
|
||||
TUAN(4, "Tuan", 17, 50),
|
||||
NYONYA(5, "Nyonya", 17, 50);
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
@Getter
|
||||
private final Integer minAge;
|
||||
|
||||
@Getter
|
||||
private final Integer maxAge;
|
||||
|
||||
Sapaan(long id, String name, Integer minAge, Integer maxAge) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
this.minAge = minAge;
|
||||
this.maxAge = maxAge;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static Sapaan valueOf(long id) {
|
||||
for (Sapaan sapaan : values()) {
|
||||
if (sapaan.id == id) {
|
||||
return sapaan;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,41 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
public enum StatusPasien {
|
||||
SEHAT(1, "Sehat"),
|
||||
MENINGGAL(2, "Meninggal");
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
StatusPasien(long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static StatusPasien valueOf(long id) {
|
||||
for (StatusPasien statusPasien : values()) {
|
||||
if (statusPasien.id == id) {
|
||||
return statusPasien;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
public enum StatusPerkawinan {
|
||||
BELUM_KAWIN(1, "Belum Kawin"),
|
||||
KAWIN(2, "Kawin"),
|
||||
CERAI_HIDUP(3, "Cerai Hidup"),
|
||||
CERAI_MATI(4, "Cerai Mati");
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
StatusPerkawinan(long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static StatusPerkawinan valueOf(long id) {
|
||||
for (StatusPerkawinan statusPerkawinan : values()) {
|
||||
if (statusPerkawinan.id == id) {
|
||||
return statusPerkawinan;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,41 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.constant;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
public enum Suku {
|
||||
SUNDA(1, "Sunda"),
|
||||
JAWA(2, "Jawa");
|
||||
|
||||
private final long id;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
Suku(long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public long id() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
|
||||
public static Suku valueOf(long id) {
|
||||
for (Suku suku : values()) {
|
||||
if (suku.id == id) {
|
||||
return suku;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching constant for [" + id + "]");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class AgamaDto {
|
||||
private Long id;
|
||||
private String agama;
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
public class AlamatDto {
|
||||
private UUID id;
|
||||
|
||||
private JenisAlamatDto jenisAlamat;
|
||||
|
||||
private String alamat;
|
||||
|
||||
private String alamatEnkripsi;
|
||||
|
||||
private Integer rt;
|
||||
|
||||
private Integer rw;
|
||||
|
||||
private KelurahanDesaDto kelurahanDesa;
|
||||
|
||||
private Integer kodePos;
|
||||
|
||||
private NegaraDto negara;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class AsuransiDto {
|
||||
private Long id;
|
||||
private String asuransi;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class BahasaDto {
|
||||
private Long id;
|
||||
private String bahasa;
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class BerkasDto {
|
||||
private UUID id;
|
||||
private JenisBerkasDto jenisBerkas;
|
||||
private String judulBerkas;
|
||||
private String lokasiBerkas;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class CaraLahirDto {
|
||||
private Long id;
|
||||
private String caraLahir;
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class GawaiDto {
|
||||
private UUID id;
|
||||
private Integer noGawai;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class GolonganDarahDto {
|
||||
private Long id;
|
||||
private String golonganDarah;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class HubunganKeluargaDto {
|
||||
private Long id;
|
||||
private String hubunganKeluarga;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class IdentitasDto {
|
||||
private UUID id;
|
||||
private JenisIdentitasDto jenisIdentitas;
|
||||
private String noIdentitas;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class JaminanDto {
|
||||
private UUID id;
|
||||
private AsuransiDto asuransi;
|
||||
private String nomorKartu;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class JenisAlamatDto {
|
||||
private Long id;
|
||||
private String jenisAlamat;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class JenisBerkasDto {
|
||||
private Long id;
|
||||
private String jenisBerkas;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class JenisIdentitasDto {
|
||||
private Long id;
|
||||
private String jenisIdentitas;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class JenisKelaminDto {
|
||||
private Long id;
|
||||
private String jenisKelamin;
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class KecamatanDto {
|
||||
private Long id;
|
||||
private Integer kodeKemendagri;
|
||||
private String kecamatan;
|
||||
private KotaKabupatenDto kotaKabupaten;
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class KeluargaDto {
|
||||
private UUID id;
|
||||
private HubunganKeluargaDto hubunganKeluarga;
|
||||
private String gelarDepan;
|
||||
private String namaLengkap;
|
||||
private String namaPanggilan;
|
||||
private String gelarBelakang;
|
||||
private String surel;
|
||||
private String kodeNegaraGawai;
|
||||
private Integer noGawai;
|
||||
private PasienDto pasien;
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class KelurahanDesaDto {
|
||||
private Long id;
|
||||
private Integer kodeKemendagri;
|
||||
private String kelurahanAtauDesa;
|
||||
private KecamatanDto kecamatan;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class KewarganegaraanDto {
|
||||
private Long id;
|
||||
private String kewarganegaraan;
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class KotaKabupatenDto {
|
||||
private Long id;
|
||||
private Integer kodeKemendagri;
|
||||
private String kotaAtauKabupaten;
|
||||
private ProvinsiDto provinsi;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class LingkunganKerjaDto {
|
||||
private Long id;
|
||||
private String lingkunganKerja;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class NegaraDto {
|
||||
private Long id;
|
||||
private String negara;
|
||||
}
|
||||
@ -0,0 +1,49 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class PasienDto {
|
||||
private UUID id;
|
||||
private String noRekamMedis;
|
||||
private String gelarDepan;
|
||||
private String namaLengkap;
|
||||
private String namaLengkapEnkripsi;
|
||||
private String namaPanggilan;
|
||||
private String gelarBelakang;
|
||||
private Set<IdentitasDto> identitas;
|
||||
private String tempatLahir;
|
||||
private LocalDateTime tanggalLahir;
|
||||
private JenisKelaminDto jenisKelamin;
|
||||
private GolonganDarahDto golonganDarah;
|
||||
private CaraLahirDto caraLahir;
|
||||
private SukuDto suku;
|
||||
private BahasaDto bahasa;
|
||||
private KewarganegaraanDto kewarganegaraan;
|
||||
private NegaraDto negara;
|
||||
private AgamaDto agama;
|
||||
private PendidikanDto pendidikan;
|
||||
private Set<AlamatDto> alamat;
|
||||
private String surel;
|
||||
private String surelEnkripsi;
|
||||
private Set<GawaiDto> gawai;
|
||||
private PekerjaanDto pekerjaan;
|
||||
private LingkunganKerjaDto lingkunganKerja;
|
||||
private StatusPerkawinanDto statusPerkawinan;
|
||||
private Set<BerkasDto> berkas;
|
||||
private Set<KeluargaDto> keluarga;
|
||||
private Set<JaminanDto> jaminan;
|
||||
private StatusPasienDto statusPasien;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class PekerjaanDto {
|
||||
private Long id;
|
||||
private String pekerjaan;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class PendidikanDto {
|
||||
private Long id;
|
||||
private String jenjangPendidikan;
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class ProvinsiDto {
|
||||
private Long id;
|
||||
private Integer kodeKemendagri;
|
||||
private String provinsi;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class StatusPasienDto {
|
||||
private Long id;
|
||||
private String statusPasien;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class StatusPerkawinanDto {
|
||||
private Long id;
|
||||
private String statusPerkawinan;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.jasamedika.medifirst2000.etl.pasien.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @version 1.0.0
|
||||
* @since 19/10/2023
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class SukuDto {
|
||||
private Long id;
|
||||
private String suku;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user