perubahan
This commit is contained in:
@@ -1 +0,0 @@
|
||||
package encounter
|
||||
@@ -1,72 +0,0 @@
|
||||
package local
|
||||
|
||||
type StartUpLog struct {
|
||||
ID string `bson:"_id"`
|
||||
HostName string `bson:"hostname"`
|
||||
StartTime string `bson:"start_time"`
|
||||
StartTimeLocal string `bson:"start_time_local"`
|
||||
CmdLine CmdLine `bson:"cmdline"`
|
||||
Pid int `bson:"pid"`
|
||||
BuildInfo BuildInfo `bson:"buildinfo"`
|
||||
}
|
||||
|
||||
type CmdLine struct {
|
||||
Net Net `bson:"net"`
|
||||
ProcessManagement ProcessManagement `bson:"processManagement"`
|
||||
SystemLog SystemLog `bson:"systemLog"`
|
||||
}
|
||||
|
||||
type Net struct {
|
||||
BindIP string `bson:"bindIp"`
|
||||
Port int `bson:"port"`
|
||||
Tls TLS `bson:"tls"`
|
||||
}
|
||||
|
||||
type TLS struct {
|
||||
Mode string `bson:"mode"`
|
||||
}
|
||||
|
||||
type ProcessManagement struct {
|
||||
Fork bool `bson:"fork"`
|
||||
PidFilePath string `bson:"pidFilePath"`
|
||||
}
|
||||
|
||||
type SystemLog struct {
|
||||
Destination string `bson:"destination"`
|
||||
LogAppend bool `bson:"logAppend"`
|
||||
Path string `bson:"path"`
|
||||
}
|
||||
|
||||
type BuildInfo struct {
|
||||
Version string `bson:"version"`
|
||||
GitVersion string `bson:"gitVersion"`
|
||||
Modules []string `bson:"modules"`
|
||||
Allocator string `bson:"allocator"`
|
||||
JavaScriptEngine string `bson:"javaScriptEngine"`
|
||||
SysInfo string `bson:"sysInfo"`
|
||||
VersionArray []int `bson:"versionArray"`
|
||||
OpenSSL OpenSSL `bson:"openssl"`
|
||||
BuildEnvironment BuildEnvironment `bson:"buildEnvironment"`
|
||||
Bits int `bson:"bits"`
|
||||
Debug bool `bson:"debug"`
|
||||
MaxBsonObjectSize int `bson:"maxBsonObjectSize"`
|
||||
StorageEngines []string `bson:"storageEngines"`
|
||||
}
|
||||
|
||||
type OpenSSL struct {
|
||||
Running string `bson:"running"`
|
||||
Compiled string `bson:"compiled"`
|
||||
}
|
||||
|
||||
type BuildEnvironment struct {
|
||||
DistMod string `bson:"distmod"`
|
||||
Distarch string `bson:"distarch"`
|
||||
CC string `bson:"cc"`
|
||||
CCFlags string `bson:"ccflags"`
|
||||
CXX string `bson:"cxx"`
|
||||
CXXFlags string `bson:"cxxflags"`
|
||||
LinkFlags string `bson:"linkflags"`
|
||||
TargetArch string `bson:"target_arch"`
|
||||
TargetOS string `bson:"target_os"`
|
||||
CPPDefines string `bson:"cppdefines"`
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package master_data
|
||||
|
||||
type ReqInsertData struct {
|
||||
ID string `bson:"_id"`
|
||||
Table string `bson:"table"`
|
||||
System string `bson:"system"`
|
||||
Code string `bson:"code"`
|
||||
Display string `bson:"display"`
|
||||
}
|
||||
|
||||
type ReqInsertDataMaster struct {
|
||||
ID string `bson:"_id"`
|
||||
System string `bson:"system"`
|
||||
Code string `bson:"code"`
|
||||
Display string `bson:"display"`
|
||||
}
|
||||
@@ -1,167 +0,0 @@
|
||||
package patient
|
||||
|
||||
type Coding struct {
|
||||
System string `bson:"system,omitempty"`
|
||||
Version string `bson:"version,omitempty"`
|
||||
Code string `bson:"code,omitempty"`
|
||||
Display string `bson:"display,omitempty"`
|
||||
UserSelected bool `bson:"userSelected,omitempty"`
|
||||
}
|
||||
|
||||
type Identifier struct {
|
||||
Use string `bson:"use,omitempty"`
|
||||
Type CodeableConcept `bson:"type,omitempty"`
|
||||
System string `bson:"system,omitempty"`
|
||||
Value string `bson:"value,omitempty"`
|
||||
Period Period `bson:"period,omitempty"`
|
||||
Assigner struct{} `bson:"assigner,omitempty"`
|
||||
}
|
||||
|
||||
type CodeableConcept struct {
|
||||
Coding []Coding `bson:"coding,omitempty"`
|
||||
Text string `bson:"text,omitempty"`
|
||||
}
|
||||
|
||||
type Period struct {
|
||||
Start string `bson:"start,omitempty"`
|
||||
End string `bson:"end,omitempty"`
|
||||
}
|
||||
|
||||
type ContactPoint struct {
|
||||
System string `bson:"system,omitempty"`
|
||||
Value string `bson:"value,omitempty"`
|
||||
Use string `bson:"use,omitempty"`
|
||||
Rank int `bson:"rank,omitempty"`
|
||||
Period Period `bson:"period,omitempty"`
|
||||
}
|
||||
|
||||
type HumanName struct {
|
||||
Use string `bson:"use,omitempty"`
|
||||
Text string `bson:"text,omitempty"`
|
||||
Family string `bson:"family,omitempty"`
|
||||
Given []string `bson:"given,omitempty"`
|
||||
Prefix []string `bson:"prefix,omitempty"`
|
||||
Suffix []string `bson:"suffix,omitempty"`
|
||||
Period Period `bson:"period,omitempty"`
|
||||
}
|
||||
|
||||
type Address struct {
|
||||
Use string `bson:"use,omitempty"`
|
||||
Type string `bson:"type,omitempty"`
|
||||
Text string `bson:"text,omitempty"`
|
||||
Line []string `bson:"line,omitempty"`
|
||||
City string `bson:"city,omitempty"`
|
||||
District string `bson:"district,omitempty"`
|
||||
State string `bson:"state,omitempty"`
|
||||
PostalCode string `bson:"postalCode,omitempty"`
|
||||
Country string `bson:"country,omitempty"`
|
||||
Period Period `bson:"period,omitempty"`
|
||||
}
|
||||
|
||||
type Organization struct {
|
||||
Reference string `bson:"reference,omitempty"`
|
||||
}
|
||||
|
||||
type Contact struct {
|
||||
Relationship []CodeableConcept `bson:"relationship,omitempty"`
|
||||
Name []HumanName `bson:"name,omitempty"`
|
||||
Telecom []ContactPoint `bson:"telecom,omitempty"`
|
||||
Address Address `bson:"address,omitempty"`
|
||||
Organization Organization `bson:"organization,omitempty"`
|
||||
Gender string `bson:"gender,omitempty"`
|
||||
Period Period `bson:"period,omitempty"`
|
||||
}
|
||||
|
||||
type Communication struct {
|
||||
Language CodeableConcept `bson:"language,omitempty"`
|
||||
Preferred bool `bson:"preferred,omitempty"`
|
||||
}
|
||||
|
||||
type ReqInsertCommunication struct {
|
||||
Language Coding `bson:"language,omitempty"`
|
||||
Preferred bool `bson:"preferred,omitempty"`
|
||||
}
|
||||
|
||||
type Link struct {
|
||||
RelatePerson []RelatePerson `bson:"relatePerson,omitempty"`
|
||||
}
|
||||
|
||||
type RelatePerson struct {
|
||||
Identifier []Identifier `bson:"identifier,omitempty"`
|
||||
Active bool `bson:"active"`
|
||||
Patient string `bson:"patient"`
|
||||
Relationship CodeableConcept `bson:"relationship"`
|
||||
Name []HumanName `bson:"name,omitempty"`
|
||||
Telecom []ContactPoint `bson:"telecom,omitempty"`
|
||||
Gender string `bson:"gender,omitempty"`
|
||||
BirthDate string `bson:"birthDate,omitempty"`
|
||||
Address []Address `bson:"address,omitempty"`
|
||||
Photo string `bson:"photo,omitempty"`
|
||||
Period Period `bson:"period,omitempty"`
|
||||
Communication []Communication `bson:"communication,omitempty"`
|
||||
Preferred bool `bson:"preferred"`
|
||||
}
|
||||
|
||||
type Deceased struct {
|
||||
DeceasedBoolean bool `bson:"deceasedBoolean,omitempty"`
|
||||
DeceasedDateTime string `bson:"deceasedDateTime,omitempty"`
|
||||
}
|
||||
|
||||
type MultipleBirth struct {
|
||||
MultipleBirthBoolean bool `bson:"multipleBirthBoolean,omitempty"`
|
||||
MultipleBirthInteger int `bson:"multipleBirthInteger,omitempty"`
|
||||
}
|
||||
|
||||
type Patient struct {
|
||||
ResourceType string `bson:"resourceType"`
|
||||
ID string `bson:"_id"`
|
||||
Identifier []Identifier `bson:"identifier,omitempty"`
|
||||
Active bool `bson:"active"`
|
||||
Name []HumanName `bson:"name,omitempty"`
|
||||
Telecom []ContactPoint `bson:"telecom,omitempty"`
|
||||
Gender string `bson:"gender,omitempty"`
|
||||
BirthPlace string `bson:"birthPlace,omitempty"`
|
||||
BirthDate string `bson:"birthDate,omitempty"`
|
||||
Address []Address `bson:"address,omitempty"`
|
||||
MaritalStatus CodeableConcept `bson:"maritalStatus,omitempty"`
|
||||
Job CodeableConcept `bson:"job,omitempty"`
|
||||
Religion CodeableConcept `bson:"religion,omitempty"`
|
||||
Tribe CodeableConcept `bson:"tribe,omitempty"`
|
||||
Link Link `bson:"link,omitempty"`
|
||||
Communication []Communication `bson:"communication,omitempty"`
|
||||
Disability bool `bson:"disability,omitempty"`
|
||||
National string `bson:"national,omitempty"`
|
||||
Deceased Deceased `bson:"deceased,omitempty"`
|
||||
MultipleBirth MultipleBirth `bson:"multipleBirth,omitempty"`
|
||||
CreatedAt string `bson:"createdAt"`
|
||||
UpdatedAt string `bson:"updatedAt"`
|
||||
}
|
||||
|
||||
type ReqInsertIdentifier struct {
|
||||
Use string `bson:"use,omitempty"`
|
||||
Type Coding `bson:"type,omitempty"`
|
||||
System string `bson:"system,omitempty"`
|
||||
Value string `bson:"value,omitempty"`
|
||||
Period Period `bson:"period,omitempty"`
|
||||
}
|
||||
|
||||
type ReqInsertPatient struct {
|
||||
Identifier []ReqInsertIdentifier `bson:"identifier,omitempty"`
|
||||
Active bool `bson:"active"`
|
||||
Name []HumanName `bson:"name,omitempty"`
|
||||
Telecom []ContactPoint `bson:"telecom,omitempty"`
|
||||
Gender string `bson:"gender,omitempty"`
|
||||
BirthPlace string `bson:"birthPlace,omitempty"`
|
||||
BirthDate string `bson:"birthDate,omitempty"`
|
||||
Address []Address `bson:"address,omitempty"`
|
||||
MaritalStatus []CodeableConcept `bson:"maritalStatus,omitempty"`
|
||||
Job []CodeableConcept `bson:"job,omitempty"`
|
||||
Religion []CodeableConcept `bson:"religion,omitempty"`
|
||||
Tribe []CodeableConcept `bson:"tribe,omitempty"`
|
||||
Link Link `bson:"link,omitempty"`
|
||||
Communication []Communication `bson:"communication,omitempty"`
|
||||
Disability bool `bson:"disability,omitempty"`
|
||||
National string `bson:"national,omitempty"`
|
||||
Deceased Deceased `bson:"deceased,omitempty"`
|
||||
MultipleBirth MultipleBirth `bson:"multipleBirth,omitempty"`
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
package satu_data
|
||||
|
||||
type PoliklinikGetData struct {
|
||||
ID string `gorm:"column:id" json:"id"`
|
||||
Nama string `gorm:"column:name" json:"nama"`
|
||||
Kode string `gorm:"column:kode" json:"kode"`
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
package satu_data
|
||||
|
||||
type Retribusi struct {
|
||||
ID string `gorm:"column:id" json:"id"`
|
||||
Status string `gorm:"column:status" json:"status"`
|
||||
Sort int `gorm:"column:sort" json:"sort"`
|
||||
UserCreated string `gorm:"column:user_created" json:"user_created"`
|
||||
DateCreated string `gorm:"column:date_created" json:"date_created"`
|
||||
UserUpdated string `gorm:"column:user_updated" json:"user_updated"`
|
||||
DateUpdated string `gorm:"column:date_updated" json:"date_updated"`
|
||||
Jenis string `gorm:"column:Jenis" json:"Jenis"`
|
||||
Pelayanan string `gorm:"column:Pelayanan" json:"Pelayanan"`
|
||||
Dinas string `gorm:"column:Dinas" json:"Dinas"`
|
||||
KelompokObyek string `gorm:"column:Kelompok_obyek" json:"Kelompok_obyek"`
|
||||
KodeTarif string `gorm:"column:Kode_tarif" json:"Kode_tarif"`
|
||||
Tarif string `gorm:"column:Tarif" json:"Tarif"`
|
||||
Satuan string `gorm:"column:Satuan" json:"Satuan"`
|
||||
TarifOverTime string `gorm:"column:Tarif_overtime" json:"Tarif_overtime"`
|
||||
SatuanOverTime string `gorm:"column:Satuan_overtime" json:"Satuan_overtime"`
|
||||
RekeningPokok string `gorm:"column:Rekening_pokok" json:"Rekening_pokok"`
|
||||
RekeningDenda string `gorm:"column:Rekening_denda" json:"Rekening_denda"`
|
||||
Uraian1 string `gorm:"column:Uraian_1" json:"Uraian_1"`
|
||||
Uraian2 string `gorm:"column:Uraian_2" json:"Uraian_2"`
|
||||
Uraian3 string `gorm:"column:Uraian_3" json:"Uraian_3"`
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
package user
|
||||
|
||||
type User struct {
|
||||
ID string `bson:"_id"`
|
||||
Name string `bson:"name"`
|
||||
Age int `bson:"age"`
|
||||
Address string `bson:"address"`
|
||||
Gender string `bson:"gender"`
|
||||
Religion string `bson:"religion"`
|
||||
}
|
||||
|
||||
type ReqInsertUser struct {
|
||||
ID string `bson:"_id"`
|
||||
Name string `bson:"name"`
|
||||
Age int `bson:"age"`
|
||||
Address string `bson:"address"`
|
||||
Gender string `bson:"gender"`
|
||||
Religion string `bson:"religion"`
|
||||
}
|
||||
|
||||
// USING INSERT AND UPDATE
|
||||
type ReqUpdateUser struct {
|
||||
ID string `json:"_id"`
|
||||
Name string `json:"name"`
|
||||
Age int `json:"age"`
|
||||
Address string `json:"address"`
|
||||
Gender string `json:"gender"`
|
||||
Religion string `json:"religion"`
|
||||
}
|
||||
|
||||
type ReqDeleteUser struct {
|
||||
ID string `json:"_id"`
|
||||
}
|
||||
Reference in New Issue
Block a user