package practitioner // //// Membuat instance Practitioner //fhirPractitioner := &models.Practitioner{ //ResourceType: "Practitioner", //ID: primitive.NewObjectID(), //Active: true, //} // //// Identifier //fhirPractitioner.Identifier = []_struct.Identifier{ //{ //Use: "usual", //Type: _struct.CodeableConcept{ //Coding: []_struct.Coding{ //{ //System: "", //Version: "", //Code: "IDSIM", //Display: "SIMRS ID", //UserSelected: true, //}, //}, //Text: "SIMRS ID", //}, //System: "", //Value: "3090", //Period: _struct.Period{ //Start: "", //End: "", //}, //Assigner: _struct.Reference{ //Reference: "", //Display: "", //}, //}, //{ //Use: "usual", //Type: _struct.CodeableConcept{ //Coding: []_struct.Coding{ //{ //System: "", //Version: "", //Code: "KDDPJP", //Display: "Kode Dokter Penanggung Jawab", //UserSelected: true, //}, //}, //Text: "Kode Dokter Penanggung Jawab", //}, //System: "", //Value: "DL_025", //Period: _struct.Period{ //Start: "", //End: "", //}, //Assigner: _struct.Reference{ //Reference: "", //Display: "", //}, //}, //{ //Use: "usual", //Type: _struct.CodeableConcept{ //Coding: []_struct.Coding{ //{ //System: "", //Version: "", //Code: "NIP", //Display: "Nomor Induk Pegawai", //UserSelected: true, //}, //}, //Text: "Nomor Induk Pegawai", //}, //System: "", //Value: "198609092019031004", //Period: _struct.Period{ //Start: "", //End: "", //}, //Assigner: _struct.Reference{ //Reference: "", //Display: "", //}, //}, //{ //Use: "usual", //Type: _struct.CodeableConcept{ //Coding: []_struct.Coding{ //{ //System: "", //Version: "", //Code: "NIK", //Display: "Nomor Induk Kependudukan", //UserSelected: true, //}, //}, //Text: "NIK", //}, //System: "", //Value: "3507090909860001", //Period: _struct.Period{ //Start: "", //End: "", //}, //Assigner: _struct.Reference{ //Reference: "", //Display: "", //}, //}, //{ //Use: "usual", //Type: _struct.CodeableConcept{ //Coding: []_struct.Coding{ //{ //System: "", //Version: "", //Code: "HFIS", //Display: "HFIS Code", //UserSelected: true, //}, //}, //Text: "HFIS", //}, //System: "", //Value: "32352", //Period: _struct.Period{ //Start: "", //End: "", //}, //Assigner: _struct.Reference{ //Reference: "", //Display: "", //}, //}, //{ //Use: "usual", //Type: _struct.CodeableConcept{ //Coding: []_struct.Coding{ //{ //System: "", //Version: "", //Code: "SATUSEHAT", //Display: "SatuSehat Code", //UserSelected: true, //}, //}, //Text: "SATUSEHAT", //}, //System: "", //Value: "10014437630", //Period: _struct.Period{ //Start: "", //End: "", //}, //Assigner: _struct.Reference{ //Reference: "", //Display: "", //}, //}, //} // //// Name //fhirPractitioner.Name = []_struct.HumanName{ //{ //Use: "usual", //Text: "dr.HERWINDO PUDJO BRAHMANTYO,Sp.PD", //Family: "BRAHMANTYO", //Given: []string{"HERWINDO", "PUDJO"}, //Prefix: []string{"dr"}, //Suffix: []string{"Sp.PD"}, //Period: _struct.Period{ //Start: "", //End: "", //}, //}, //} // //// Telecom //fhirPractitioner.Telecom = []_struct.ContactPoint{ //{ //System: "phone", //Value: "(081) 1365725", //Use: "mobile", //Rank: 1, //Period: _struct.Period{ //Start: "", //End: "", //}, //}, //{ //System: "email", //Value: "herwindopudjo@yahoo.com", //Use: "work", //Rank: 1, //Period: _struct.Period{ //Start: "", //End: "", //}, //}, //} // //// Address //fhirPractitioner.Address = []_struct.Address{ //{ //Use: "home", //Type: "both", //Text: "JL Pasuruan No 10 Malang", //Line: []string{"JL Pasuruan No 10"}, //Village: "Karanganyar", //District: "Panggungrejo", //City: "Pasuruan", //State: "Jawa Timur", //PostalCode: "67131", //Country: "Indonesia", //Period: _struct.Period{ //Start: "", //End: "", //}, //Extension: []_struct.Extension{ //{ //URL: "", //Extension: []_struct.ExtensionDetail{ //{ //URL: "state", //ValueDisplay: "Jawa Timur", //ValueCode: "35", //}, //{ //URL: "city", //ValueDisplay: "Malang", //ValueCode: "3573", //}, //{ //URL: "district", //ValueDisplay: "Klojen", //ValueCode: "3573030", //}, //{ //URL: "village", //ValueDisplay: "Klojen", //ValueCode: "3573030008", //}, //{ //URL: "rt", //ValueDisplay: "", //ValueCode: "", //}, //{ //URL: "rw", //ValueDisplay: "", //ValueCode: "", //}, //}, //}, //}, //}, //} // //// Gender //fhirPractitioner.Gender = "male" // //// BirthDate //fhirPractitioner.BirthDate = "1986-09-09" // //// Qualification //fhirPractitioner.Qualification = []_struct.Qualification{ //{ //Identifier: []_struct.Identifier{ //{ //Use: "usual", //Type: _struct.CodeableConcept{ //Coding: []_struct.Coding{ //{ //System: "", //Version: "", //Code: "SIP", //Display: "Surat Ijin Praktek", //UserSelected: true, //}, //}, //Text: "SIP", //}, //System: "", //Value: "", //Period: _struct.Period{ //Start: "2021-09-09", //End: "2026-09-09", //}, //Assigner: _struct.Reference{ //Reference: "", //Display: "", //}, //}, //{ //Use: "usual", //Type: _struct.CodeableConcept{ //Coding: []_struct.Coding{ //{ //System: "", //Version: "", //Code: "SPK", //Display: "Surat Perintah Kerja", //UserSelected: true, //}, //}, //Text: "SPK", //}, //System: "", //Value: "", //Period: _struct.Period{ //Start: "2020-12-22", //End: "2025-12-22", //}, //Assigner: _struct.Reference{ //Reference: "", //Display: "", //}, //}, //}, //Code: _struct.CodeableConcept{ //Coding: []_struct.Coding{ //{ //System: "http://terminology.hl7.org/CodeSystem/v2-0360/2.7", //Version: "", //Code: "MD", //Display: "Doctor of Medicine", //UserSelected: true, //}, //}, //Text: "Spesialis Penyakit Dalam", //}, //Period: _struct.Period{ //Start: "", //End: "", //}, //Issuer: _struct.Reference{ //Reference: "", //Display: "", //}, //}, //} // //// Communication //fhirPractitioner.Communication = []_struct.Communication{ //{ //Language: _struct.CodeableConcept{ //Coding: []_struct.Coding{ //{ //System: "", //Version: "", //Code: "id", //Display: "Indonesian", //UserSelected: true, //}, //}, //Text: "Bahasa Indonesia", //}, //}, //{ //Language: _struct.CodeableConcept{ //Coding: []_struct.Coding{ //{ //System: "", //Version: "", //Code: "en", //Display: "English", //UserSelected: true, //}, //}, //Text: "Bahasa Inggris", //}, //}, //} // //// Extension //fhirPractitioner.Extension = []_struct.Extension{ //{ //URL: "", //Extension: []_struct.ExtensionDetail{ //{ //URL: "createdAt", //ValueDisplay: "2025-02-19 08:04:55.000", //ValueCode: "2025-02-19 08:04:55.000", //}, //{ //URL: "updatedAt", //ValueDisplay: "2025-03-25 12:04:55.000", //ValueCode: "2025-03-25 12:04:55.000", //}, //{ //URL: "birthPlace", //ValueDisplay: "Malang", //ValueCode: "3573", //}, //{ //URL: "national", //ValueDisplay: "Warga Negara Indonesia", //ValueCode: "WNI", //}, //{ //URL: "religion", //ValueDisplay: "Islam", //ValueCode: "IS", //}, //{ //URL: "smf", //ValueDisplay: "Ilmu Penyakit Dalam", //ValueCode: "IPD", //}, //{ //URL: "category", //ValueDisplay: "RSUD dr. Saiful Anwar", //ValueCode: "RSSA", //}, //}, //}, //}