Fakultas Ilmu Komputer UI

Commit 7544bfd9 authored by Glenda Emanuella Sutanto's avatar Glenda Emanuella Sutanto
Browse files

Added phone number field in nutritionist + added nutritionist and dietela program data for seeding

parent 0068bedd
# Generated by Django 3.1 on 2021-06-23 16:10
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('nutritionists', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='nutritionist',
name='phone_number',
field=models.CharField(max_length=20, null=True),
),
]
...@@ -10,6 +10,7 @@ class Nutritionist(models.Model): ...@@ -10,6 +10,7 @@ class Nutritionist(models.Model):
another_practice_place = models.CharField(max_length=255) another_practice_place = models.CharField(max_length=255)
languages = models.CharField(max_length=255) languages = models.CharField(max_length=255)
profile_picture = models.ImageField(upload_to='nutritionist',null=True) profile_picture = models.ImageField(upload_to='nutritionist',null=True)
phone_number = models.CharField(max_length=20, null=True)
def __str__(self): def __str__(self):
return f"{self.full_name_and_degree}" return f"{self.full_name_and_degree}"
[
{
"model": "nutritionists.nutritionist",
"fields": {
"id": 1,
"full_name_and_degree": "Amalia Shabrina S.Gz",
"registration_certificate_no": "1209621172187441",
"university": "Universitas Indonesia",
"mastered_nutritional_problems": "Manajemen berat badan; Metabolic diet (DM, jantung, hipertensi,ginjal,asam urat); Diet pasca operasi; Diet untuk lansia; Diet stroke; Diet untuk penyakit komplikasi",
"handled_age_group": "12 - 17 tahun (Remaja), 18 - 60 tahun (Dewasa), Lebih dari 60 tahun (Lansia)",
"another_practice_place": "RS Pusat Otak Nasional Prof Dr Mahar Mardjono",
"languages": "Bahasa Indonesia, Bahasa Inggris",
"phone_number": "085781741494"
}
},
{
"model": "nutritionists.nutritionist",
"fields": {
"id": 2,
"full_name_and_degree": "Rr Bamandhita Rahma Setiaji, S.Gz",
"registration_certificate_no": "1209621172187398",
"university": "Universitas Indonesia, Institut Pertanian Bogor (Registered Dietitian Candidate)",
"mastered_nutritional_problems": "Diet untuk pendampingan program latihan olahraga (gizi periodisasi); Gizi atlet dengan kondisi khusus; Manajemen berat badan; Diet hipertensi; Diet asam urat; Diet diabetes mellitus",
"handled_age_group": "18 - 60 tahun (Dewasa)",
"another_practice_place": "Pocari Sweat Sport Science",
"languages": "Bahasa Indonesia, Bahasa Inggris, Bahasa Isyarat Indonesia",
"phone_number": "08989070722"
}
},
{
"model": "nutritionists.nutritionist",
"fields": {
"id": 3,
"full_name_and_degree": "OKTOVIANI TRI HANDINI TAMBUNAN, S.Gz., RD",
"registration_certificate_no": "1209722193021171",
"university": "UNIVERSITAS BRAWIJAYA",
"mastered_nutritional_problems": "Manajemen berat badan; Diet persiapan kehamilan, ibu hamil, ibu menyusui; Diet vegetarian; Diet anak; Diet chronic kidney disease; Diet diabetes melitus; Diet coronary heart disease; Diet stroke; Diet khusus geriatri; Diet untuk komplikasi penyakit",
"handled_age_group": "Anak & Remaja (5 - 17 tahun), Dewasa (18 - 60 tahun), Lansia (Lebih dari 60 tahun)",
"another_practice_place": "RSUPN Cipto Mangunkusumo",
"languages": "Bahasa Indonesia",
"phone_number": "081231647057"
}
},
{
"model": "nutritionists.nutritionist",
"fields": {
"id": 4,
"full_name_and_degree": "Rasita Amelia Hasnawati, S.Gz",
"registration_certificate_no": "1509621151028855",
"university": "Universitas Gadjah Mada",
"mastered_nutritional_problems": "Masalah MPASI; Masalah gizi pada anak, gizi ibu hamil dan ibu menyusui; Manajeman BB pada obesitas; Gizi keluarga (terutama untuk menyiapkan makanan keluarga); Gizi remaja; Gizi persiapan pernikahan; Gizi persiapan kehamilan",
"handled_age_group": "Baduta MPASI (6-24 bulan) Anak & Remaha (2-17 tahun), Dewasa (18-60 tahun), Lansia (Lebih dari 60 tahun)",
"another_practice_place": "-",
"languages": "Bahasa Indonesia",
"phone_number": "085643385295"
}
},
{
"model": "nutritionists.nutritionist",
"fields": {
"id": 5,
"full_name_and_degree": "Riestantya Reissa Fanny, S.Gz, M.Kes",
"registration_certificate_no": "160962115-0982970",
"university": "S1: Universitas Gajah Mada, S2: Universitas Airlangga",
"mastered_nutritional_problems": "Diet untuk penyakit degeneratif; Diet polycystic ovary syndrome",
"handled_age_group": "18 - 60 tahun (Dewasa)",
"another_practice_place": "-",
"languages": "Bahasa Indonesia",
"phone_number": "085230017993"
}
},
{
"model": "nutritionists.nutritionist",
"fields": {
"id": 6,
"full_name_and_degree": "Roberta Lei Easter, S.Gz",
"registration_certificate_no": "140962116-1129320",
"university": "S1: Universitas Diponegoro",
"mastered_nutritional_problems": "Manajemen berat badan; Penyakit degeneratif",
"handled_age_group": "12-17 tahun (Remaja), 18 - 60 tahun (Dewasa)",
"another_practice_place": "Fullerton Health",
"languages": "Bahasa Indonesia, Bahasa Inggris",
"phone_number": "081382554025"
}
},
{
"model": "nutritionists.nutritionist",
"fields": {
"id": 7,
"full_name_and_degree": "Syiva Nurul Faridah, S.Gz",
"registration_certificate_no": "130962220-3208350",
"university": "Universitas Esa Unggul",
"mastered_nutritional_problems": "Masalah MPASI; Gizi pada anak, gizi remaja, gizi persiapan pernikahan, gizi persiapan kehamilan; Masalah diet sesuai penyakit (DM, hipertensi, dsb); Manajemen berat badan; Gizi ibu hamil dan ibu menyusui",
"handled_age_group": "Baduta MPASI (6-24 bulan) Anak & Remaha (2-17 tahun), Dewasa (18-60 tahun), Lansia (Lebih dari 60 tahun)",
"another_practice_place": "-",
"languages": "Bahasa Indonesia",
"phone_number": "085314129115"
}
},
{
"model": "nutritionists.nutritionist",
"fields": {
"id": 8,
"full_name_and_degree": "Trianisa Purwanto, S. Gz",
"registration_certificate_no": "1209621192415969",
"university": "Universitas Darussalam Gontor",
"mastered_nutritional_problems": "Manajemen berat badan; Metabolic diet (DM, jantung, hipertensi,ginjal,asam urat); Gizi Olahraga",
"handled_age_group": "Remaja (12-17 tahun), Dewasa (18-60)",
"another_practice_place": "-",
"languages": "Bahasa Indonesia, Bahasa Inggris, Bahasa Arab",
"phone_number": "081282019726"
}
},
{
"model": "nutritionists.nutritionist",
"fields": {
"id": 9,
"full_name_and_degree": "Ulil Albab, S.Gz.",
"registration_certificate_no": "1409621182204554",
"university": "Universitas Diponegoro",
"mastered_nutritional_problems": "Manajemen berat badan; Metabolic diet (DM, jantung, hipertensi,ginjal,asam urat); Diet penanganan anemia",
"handled_age_group": "Dewasa (18-65 tahun), Lansia (Lebih dari 65 tahun)",
"another_practice_place": "-",
"languages": "Bahasa Indonesia",
"phone_number": "08567920806"
}
},
{
"model": "nutritionists.nutritionist",
"fields": {
"id": 10,
"full_name_and_degree": "Wiam Rifati, S.Gz. ",
"registration_certificate_no": "1209621193096010",
"university": "Universitas Indonesia",
"mastered_nutritional_problems": "Manajemen berat badan; Diet untuk hipertensi; Diet untuk dislipidemia (pengaturan profil lemak)",
"handled_age_group": "Manajemen berat badan, diet untuk hipertensi, diet untuk dislipidemia (pengaturan profil lemak)",
"another_practice_place": "-",
"languages": "Bahasa Indonesia, Bahasa Inggris",
"phone_number": "087781220222"
}
},
{
"model": "nutritionists.nutritionist",
"fields": {
"id": 11,
"full_name_and_degree": "Rusda Kuddah, S.Gz",
"registration_certificate_no": "1309621203256345",
"university": "S1 Universitas Brawijaya, Profesi Dietisien IPB",
"mastered_nutritional_problems": "Manajemen berat badan; Metabolic diet (DM, jantung, hipertensi,ginjal,asam urat); Diet untuk penyakit ginjal kronis",
"handled_age_group": "2-17 tahun (Remaja), 18-60 tahun (Dewasa)",
"another_practice_place": "-",
"languages": "Bahasa Indonesia, Bahasa Inggris",
"phone_number": "087823326585"
}
},
{
"model": "nutritionists.nutritionist",
"fields": {
"id": 12,
"full_name_and_degree": "Hana Adisti, S.Gz",
"registration_certificate_no": "1209621172045614",
"university": "S1 Universitas Indonesia, Profesi Dietisien IPB",
"mastered_nutritional_problems": "Manajemen berat badan; Metabolic diet (DM, jantung, hipertensi,ginjal,asam urat); Diet untuk penyakit komplikasi; Diet penyakit ginjal kronis; Diet penyakit jantung koroner",
"handled_age_group": "12-17 tahun (Remaja), 18-60 tahun (Dewasa), Lebih dari 60 tahun (Lansia)",
"another_practice_place": "-",
"languages": "Bahasa Indonesia, Bahasa Inggris",
"phone_number": "085691077399"
}
},
{
"model": "nutritionists.nutritionist",
"fields": {
"id": 13,
"full_name_and_degree": "Farisa Milla Shabrina, S.Gz",
"registration_certificate_no": "1209621172045620",
"university": "S1 Universitas Indonesia, Profesi Dietisien IPB",
"mastered_nutritional_problems": "Manajemen berat badan; Metabolic diet (DM, jantung, hipertensi,ginjal,asam urat); Diet persiapan kehamilan",
"handled_age_group": "6-12 tahun (Anak), 18-60 tahun (Dewasa), Lebih dari 60 tahun (Lansia)",
"another_practice_place": "-",
"languages": "Bahasa Indonesia",
"phone_number": "082125295341"
}
},
{
"model": "nutritionists.nutritionist",
"fields": {
"id": 14,
"full_name_and_degree": "Sella Swastiara Septalia, S.Gz, RD",
"registration_certificate_no": "1609721193153990",
"university": "S1 & Sekolah Profesi Universitas Brawijaya",
"mastered_nutritional_problems": "Manajemen berat badan; Metabolic diet (DM, jantung, hipertensi,ginjal,asam urat); Diet pasca operasi; Diet stroke; Diet untuk penyakit komplikasi; Diet persiapan kehamilan; Diet ibu hamil & ibu menyusui; Diet vegetarian; MPASI; Diet anak; Diet penyakit ginjal kronis; Diet penyakit jantung koroner",
"handled_age_group": "6 bulan-2 tahun (Bayi), 3-12 tahun (Anak), 12-17 tahun (Remaja), 18-60 tahun (Dewasa), Lebih dari 60 tahun (Lansia)",
"another_practice_place": "RSUD Bangil, Jawa Timur",
"languages": "Bahasa Indonesia, Bahasa Inggris",
"phone_number": "081336670467"
}
},
{
"model": "nutritionists.nutritionist",
"fields": {
"id": 15,
"full_name_and_degree": "Chandry Ageng Thirtasary, S.Gz., RD",
"registration_certificate_no": "1609722203261847",
"university": "S1 & Sekolah Profesi Universitas Brawijaya",
"mastered_nutritional_problems": "Manajemen berat badan; Metabolic diet (DM, jantung, hipertensi,ginjal,asam urat); Diet pasca operasi; Diet untuk lansia; Diet stroke; Diet untuk penyakit komplikasi; Diet untuk pendampingan program latihan olahraga; Diet persiapan kehamilan; Diet ibu menyusui dan ibu hamil; Diet penyakit ginjal kronis; Diet penyakit jantung koroner",
"handled_age_group": "Anak usia 3-5 tahun (Balita), Anak usia 6-11 tahun (Anak), 12-17 tahun (Remaja), 18-60 tahun (Dewasa), Lebih dari 60 tahun (Lansia)",
"another_practice_place": "-",
"languages": "Bahasa Indonesia",
"phone_number": "082234993944"
}
},
{
"model": "nutritionists.nutritionist",
"fields": {
"id": 16,
"full_name_and_degree": "Ulfa Teni Safira, S.Gz",
"registration_certificate_no": "1309621203262690",
"university": "S1 Universitas Indonesia",
"mastered_nutritional_problems": "Manajemen berat badan",
"handled_age_group": "12-17 tahun (Remaja), 18-60 tahun (Dewasa)",
"another_practice_place": "-",
"languages": "Bahasa Indonesia, Bahasa Inggris",
"phone_number": "082226041789"
}
},
{
"model": "nutritionists.nutritionist",
"fields": {
"id": 17,
"full_name_and_degree": "Ardhila Lovi Hasinofa, S. Gz., RD",
"registration_certificate_no": "1609722203207050",
"university": "S1 & Sekolah Profesi Universitas Brawijaya",
"mastered_nutritional_problems": "Manajemen berat badan; Metabolic diet (DM, jantung, hipertensi, asam urat); Diet pasca operasi; Diet untuk penyakit komplikasi; MPASI; Diet penyakit ginjal kronis; Diet penyakit jantung koroner",
"handled_age_group": "6 Bulan-2 Tahun (Bayi), 12-17 tahun (Remaja), 18-60 tahun (Dewasa)",
"another_practice_place": "RS Jantung Jakarta",
"languages": "Bahasa Indonesia",
"phone_number": "082231013160"
}
}
]
[
{
"model": "dietela_program.dietelaprogram",
"fields": {
"id": 1,
"unique_code": "TRIAL",
"name": "One Week Trial",
"price": 239900
}
},
{
"model": "dietela_program.dietelaprogram",
"fields": {
"id": 2,
"unique_code": "BABY_1",
"name": "Body for Baby 1 Bulan",
"price": 609900
}
},
{
"model": "dietela_program.dietelaprogram",
"fields": {
"id": 3,
"unique_code": "BABY_3",
"name": "Body for Baby 3 Bulan",
"price": 1659900
}
},
{
"model": "dietela_program.dietelaprogram",
"fields": {
"id": 4,
"unique_code": "GOALS_1",
"name": "Body Goals Program 1 Bulan",
"price": 609900
}
},
{
"model": "dietela_program.dietelaprogram",
"fields": {
"id": 5,
"unique_code": "GOALS_3",
"name": "Body Goals Program 3 Bulan",
"price": 1659900
}
},
{
"model": "dietela_program.dietelaprogram",
"fields": {
"id": 6,
"unique_code": "GOALS_6",
"name": "Body Goals Program 6 Bulan",
"price": 3449000
}
},
{
"model": "dietela_program.dietelaprogram",
"fields": {
"id": 7,
"unique_code": "BALANCED_1",
"name": "Balanced Diet Program 1 Bulan",
"price": 609900
}
},
{
"model": "dietela_program.dietelaprogram",
"fields": {
"id": 8,
"unique_code": "BALANCED_3",
"name": "Balanced Diet Program 3 Bulan",
"price": 1659900
}
},
{
"model": "dietela_program.dietelaprogram",
"fields": {
"id": 9,
"unique_code": "BALANCED_6",
"name": "Balanced Diet Program 6 Bulan",
"price": 3449000
}
}
]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment