Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dictionary ¶
type Dictionary struct {
UserVersion string `json:"user_version"`
Group DictionaryGroup `json:"d_group"`
FullName string `json:"fullName"`
Info DictionaryInfo `json:"d"`
ProviderParam string `json:"providerParam"`
Organization DictionaryOrganization `json:"respOrganization"`
LastUpdate string `json:"last_update"`
ID int `json:"id"`
ShortName string `json:"shortName"`
}
Dictionary - информация о справочнике ФФОМС
func FindDictionary ¶
func FindDictionary(code string) (*Dictionary, error)
FindDictionary получает последнюю версию справочника по его коду
func GetDictionaryList ¶
func GetDictionaryList() ([]Dictionary, error)
GetDictionaryList получает список справочников с сайта ФФОМС
func (*Dictionary) GetFile ¶
func (d *Dictionary) GetFile() ([]byte, error)
GetFile загружает указанную версию справочника в формате XML
type DictionaryGroup ¶
DictionaryGroup - принадлежность справочника
type DictionaryInfo ¶
DictionaryInfo ...
type DictionaryOrganization ¶
DictionaryOrganization - организация, ответсвенная за ведение справочника
Click to show internal directories.
Click to hide internal directories.