package reference

type Response struct {
	MetaData MetaData      `json:"metaData"`
	Response *CodeNameList `json:"response"` // pointer to handle possible null
}

type MetaData struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

type CodeNameList struct {
	List     []CodeName `json:"list,omitempty"`
	Diagnosa []CodeName `json:"diagnosa,omitempty"`
	Poli     []CodeName `json:"poli,omitempty"`
	Faskes   []CodeName `json:"faskes,omitempty"`
}

type CodeName struct {
	Kode string `json:"kode"`
	Nama string `json:"nama"`
}
