alidoc

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

阿里健康处方药平台 model

https://open.taobao.com/API.htm?docId=44810&docType=2

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaAlihealthAlidocDrugStoreAddAPIRequest added in v1.2.0

type AlibabaAlihealthAlidocDrugStoreAddAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

gsk新增药店 API请求 alibaba.alihealth.alidoc.drug.store.add

GSK上传药店信息

func NewAlibabaAlihealthAlidocDrugStoreAddRequest

func NewAlibabaAlihealthAlidocDrugStoreAddRequest() *AlibabaAlihealthAlidocDrugStoreAddAPIRequest

初始化AlibabaAlihealthAlidocDrugStoreAddAPIRequest对象

func (AlibabaAlihealthAlidocDrugStoreAddAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAlihealthAlidocDrugStoreAddAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAlihealthAlidocDrugStoreAddAPIRequest) GetDrugStoreAddTopRequest added in v1.2.0

DrugStoreAddTopRequest Getter

func (*AlibabaAlihealthAlidocDrugStoreAddAPIRequest) SetDrugStoreAddTopRequest added in v1.2.0

func (r *AlibabaAlihealthAlidocDrugStoreAddAPIRequest) SetDrugStoreAddTopRequest(_drugStoreAddTopRequest *DrugStoreAddTopRequest) error

DrugStoreAddTopRequest Setter 新增药店

type AlibabaAlihealthAlidocDrugStoreAddAPIResponse

type AlibabaAlihealthAlidocDrugStoreAddAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthAlidocDrugStoreAddAPIResponseModel
}

gsk新增药店 API返回值 alibaba.alihealth.alidoc.drug.store.add

GSK上传药店信息

type AlibabaAlihealthAlidocDrugStoreAddAPIResponseModel added in v1.2.0

type AlibabaAlihealthAlidocDrugStoreAddAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alihealth_alidoc_drug_store_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// success
	Successed bool `json:"successed,omitempty" xml:"successed,omitempty"`
	// errCode
	ErrorKode string `json:"error_kode,omitempty" xml:"error_kode,omitempty"`
	// errMessage
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
}

gsk新增药店 成功返回结果

type AlibabaAlihealthAlidocDrugStoreUpdateAPIRequest added in v1.2.0

type AlibabaAlihealthAlidocDrugStoreUpdateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

更新药店 API请求 alibaba.alihealth.alidoc.drug.store.update

药店信息更新接口

func NewAlibabaAlihealthAlidocDrugStoreUpdateRequest

func NewAlibabaAlihealthAlidocDrugStoreUpdateRequest() *AlibabaAlihealthAlidocDrugStoreUpdateAPIRequest

初始化AlibabaAlihealthAlidocDrugStoreUpdateAPIRequest对象

func (AlibabaAlihealthAlidocDrugStoreUpdateAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAlihealthAlidocDrugStoreUpdateAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAlihealthAlidocDrugStoreUpdateAPIRequest) GetDrugStoreUpdateTopRequest added in v1.2.0

DrugStoreUpdateTopRequest Getter

func (*AlibabaAlihealthAlidocDrugStoreUpdateAPIRequest) SetDrugStoreUpdateTopRequest added in v1.2.0

func (r *AlibabaAlihealthAlidocDrugStoreUpdateAPIRequest) SetDrugStoreUpdateTopRequest(_drugStoreUpdateTopRequest *DrugStoreUpdateTopRequest) error

DrugStoreUpdateTopRequest Setter 更新对象

type AlibabaAlihealthAlidocDrugStoreUpdateAPIResponse

type AlibabaAlihealthAlidocDrugStoreUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthAlidocDrugStoreUpdateAPIResponseModel
}

更新药店 API返回值 alibaba.alihealth.alidoc.drug.store.update

药店信息更新接口

type AlibabaAlihealthAlidocDrugStoreUpdateAPIResponseModel added in v1.2.0

type AlibabaAlihealthAlidocDrugStoreUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alihealth_alidoc_drug_store_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// errMessage
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
	// errCode
	ErrKode string `json:"err_kode,omitempty" xml:"err_kode,omitempty"`
	// success
	Successed bool `json:"successed,omitempty" xml:"successed,omitempty"`
}

更新药店 成功返回结果

type AlibabaAlihealthOutflowFrequencySaveorupdateAPIRequest added in v1.2.0

type AlibabaAlihealthOutflowFrequencySaveorupdateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

处方外流-药品频次同步接口 API请求 alibaba.alihealth.outflow.frequency.saveorupdate

处方外流-药品频次同步接口

func NewAlibabaAlihealthOutflowFrequencySaveorupdateRequest

func NewAlibabaAlihealthOutflowFrequencySaveorupdateRequest() *AlibabaAlihealthOutflowFrequencySaveorupdateAPIRequest

初始化AlibabaAlihealthOutflowFrequencySaveorupdateAPIRequest对象

func (AlibabaAlihealthOutflowFrequencySaveorupdateAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAlihealthOutflowFrequencySaveorupdateAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAlihealthOutflowFrequencySaveorupdateAPIRequest) GetFrequencyRequest added in v1.2.0

FrequencyRequest Getter

func (*AlibabaAlihealthOutflowFrequencySaveorupdateAPIRequest) SetFrequencyRequest added in v1.2.0

func (r *AlibabaAlihealthOutflowFrequencySaveorupdateAPIRequest) SetFrequencyRequest(_frequencyRequest *FrequencyRequest) error

FrequencyRequest Setter 系统自动生成

type AlibabaAlihealthOutflowFrequencySaveorupdateAPIResponse

type AlibabaAlihealthOutflowFrequencySaveorupdateAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthOutflowFrequencySaveorupdateAPIResponseModel
}

处方外流-药品频次同步接口 API返回值 alibaba.alihealth.outflow.frequency.saveorupdate

处方外流-药品频次同步接口

type AlibabaAlihealthOutflowFrequencySaveorupdateAPIResponseModel added in v1.2.0

type AlibabaAlihealthOutflowFrequencySaveorupdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alihealth_outflow_frequency_saveorupdate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// alinkappserver系统返回的通用结果类
	ServiceResult *ServiceResult `json:"service_result,omitempty" xml:"service_result,omitempty"`
}

处方外流-药品频次同步接口 成功返回结果

type AlibabaAlihealthRxPrescriptionDetailAPIRequest added in v1.2.0

type AlibabaAlihealthRxPrescriptionDetailAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

处方详情 API请求 alibaba.alihealth.rx.prescription.detail

获取处方结构化信息

func NewAlibabaAlihealthRxPrescriptionDetailRequest

func NewAlibabaAlihealthRxPrescriptionDetailRequest() *AlibabaAlihealthRxPrescriptionDetailAPIRequest

初始化AlibabaAlihealthRxPrescriptionDetailAPIRequest对象

func (AlibabaAlihealthRxPrescriptionDetailAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAlihealthRxPrescriptionDetailAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAlihealthRxPrescriptionDetailAPIRequest) GetQuery added in v1.2.0

Query Getter

func (*AlibabaAlihealthRxPrescriptionDetailAPIRequest) SetQuery added in v1.2.0

Query Setter 查询参数

type AlibabaAlihealthRxPrescriptionDetailAPIResponse

type AlibabaAlihealthRxPrescriptionDetailAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthRxPrescriptionDetailAPIResponseModel
}

处方详情 API返回值 alibaba.alihealth.rx.prescription.detail

获取处方结构化信息

type AlibabaAlihealthRxPrescriptionDetailAPIResponseModel added in v1.2.0

type AlibabaAlihealthRxPrescriptionDetailAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alihealth_rx_prescription_detail_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 数据集
	DataList []RxPrescriptionTopDto `json:"data_list,omitempty" xml:"data_list>rx_prescription_top_dto,omitempty"`
}

处方详情 成功返回结果

type DrugStoreAddTopRequest

type DrugStoreAddTopRequest struct {
	// 药店地址
	DrugStoreAddress string `json:"drug_store_address,omitempty" xml:"drug_store_address,omitempty"`
	// 维度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 电话
	DrugStrorePhone string `json:"drug_strore_phone,omitempty" xml:"drug_strore_phone,omitempty"`
	// 医保标签
	MedicareLabel int64 `json:"medicare_label,omitempty" xml:"medicare_label,omitempty"`
	// 药店编码
	DrugStoreCode string `json:"drug_store_code,omitempty" xml:"drug_store_code,omitempty"`
	// 经度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 药店名称
	DrugStoreName string `json:"drug_store_name,omitempty" xml:"drug_store_name,omitempty"`
}

DrugStoreAddTopRequest

type DrugStoreUpdateTopRequest

type DrugStoreUpdateTopRequest struct {
	// 药店编码
	DrugStoreCode string `json:"drug_store_code,omitempty" xml:"drug_store_code,omitempty"`
	// 药店名称
	DrugStoreName string `json:"drug_store_name,omitempty" xml:"drug_store_name,omitempty"`
	// 药店地址
	DrugStoreAddress string `json:"drug_store_address,omitempty" xml:"drug_store_address,omitempty"`
	// 电话
	DrugStrorePhone string `json:"drug_strore_phone,omitempty" xml:"drug_strore_phone,omitempty"`
	// 1-支持医保,0-不支持医保
	MedicareLabel string `json:"medicare_label,omitempty" xml:"medicare_label,omitempty"`
	// 纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 状态,1-启动,0-封存
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 经度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
}

DrugStoreUpdateTopRequest

type FrequencyRequest

type FrequencyRequest struct {
	// 用药频次(非空)
	FreqTimes string `json:"freq_times,omitempty" xml:"freq_times,omitempty"`
	// 状态1:正常 0:停用(非空)
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 频次名称(非空)
	HisFrequencyName string `json:"his_frequency_name,omitempty" xml:"his_frequency_name,omitempty"`
	// 频次编码(非空)
	HisFrequencyCode string `json:"his_frequency_code,omitempty" xml:"his_frequency_code,omitempty"`
	// 渠道类型(非空)
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
}

FrequencyRequest

type RxDiagnoseTopDto

type RxDiagnoseTopDto struct {
	// icdCode名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// icdCode
	Code string `json:"code,omitempty" xml:"code,omitempty"`
}

RxDiagnoseTopDto

type RxDoctorTopDto

type RxDoctorTopDto struct {
	// 医生姓名
	DoctorName string `json:"doctor_name,omitempty" xml:"doctor_name,omitempty"`
	// 医生部门
	DepartName string `json:"depart_name,omitempty" xml:"depart_name,omitempty"`
}

RxDoctorTopDto

type RxDrugTopDto

type RxDrugTopDto struct {
	// 药品用法用量
	DrugUsageList []RxDrugUsageTopDto `json:"drug_usage_list,omitempty" xml:"drug_usage_list>rx_drug_usage_top_dto,omitempty"`
	// 剂型
	DoseFrom string `json:"dose_from,omitempty" xml:"dose_from,omitempty"`
	// 数量
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 规格
	Spec string `json:"spec,omitempty" xml:"spec,omitempty"`
	// 药品名称
	DrugName string `json:"drug_name,omitempty" xml:"drug_name,omitempty"`
	// 药品Id
	DrugId string `json:"drug_id,omitempty" xml:"drug_id,omitempty"`
}

RxDrugTopDto

type RxDrugUsageTopDto

type RxDrugUsageTopDto struct {
	// 每次用量
	DoseValue string `json:"dose_value,omitempty" xml:"dose_value,omitempty"`
	// 频次
	Frequency string `json:"frequency,omitempty" xml:"frequency,omitempty"`
	// 频次值
	FrequencyValue string `json:"frequency_value,omitempty" xml:"frequency_value,omitempty"`
	// 频次值单位
	FrequencyUnit string `json:"frequency_unit,omitempty" xml:"frequency_unit,omitempty"`
	// 天数
	Days string `json:"days,omitempty" xml:"days,omitempty"`
	// 用法
	DrugUsage string `json:"drug_usage,omitempty" xml:"drug_usage,omitempty"`
	// 用法用量单位
	MeasureUnit string `json:"measure_unit,omitempty" xml:"measure_unit,omitempty"`
}

RxDrugUsageTopDto

type RxPatientDiagnosticTopDto

type RxPatientDiagnosticTopDto struct {
	// 诊断list
	DiagnoseList []RxDiagnoseTopDto `json:"diagnose_list,omitempty" xml:"diagnose_list>rx_diagnose_top_dto,omitempty"`
	// 过敏史
	AllergyHistory string `json:"allergy_history,omitempty" xml:"allergy_history,omitempty"`
	// 妊娠哺乳
	Pregnancy string `json:"pregnancy,omitempty" xml:"pregnancy,omitempty"`
	// 肾功能
	RenalFunction string `json:"renal_function,omitempty" xml:"renal_function,omitempty"`
	// 肝功能
	LiverFunction string `json:"liver_function,omitempty" xml:"liver_function,omitempty"`
	// 过往病史
	MedicalHistory string `json:"medical_history,omitempty" xml:"medical_history,omitempty"`
}

RxPatientDiagnosticTopDto

type RxPatientTopDto

type RxPatientTopDto struct {
	// 性别
	Sex string `json:"sex,omitempty" xml:"sex,omitempty"`
	// 年龄
	Age int64 `json:"age,omitempty" xml:"age,omitempty"`
	// 姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 身份证号
	IdCard string `json:"id_card,omitempty" xml:"id_card,omitempty"`
}

RxPatientTopDto

type RxPrescriptionQuery

type RxPrescriptionQuery struct {
	// 订单号多个以逗号分开
	BizOrderIds string `json:"biz_order_ids,omitempty" xml:"biz_order_ids,omitempty"`
}

RxPrescriptionQuery

type RxPrescriptionTopDto

type RxPrescriptionTopDto struct {
	// 药品列表
	DrugList []RxDrugTopDto `json:"drug_list,omitempty" xml:"drug_list>rx_drug_top_dto,omitempty"`
	// 患者问诊信息
	PatientDiagnostic *RxPatientDiagnosticTopDto `json:"patient_diagnostic,omitempty" xml:"patient_diagnostic,omitempty"`
	// 患者信息
	Patient *RxPatientTopDto `json:"patient,omitempty" xml:"patient,omitempty"`
	// 处方图片url
	PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"`
	// 处方创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 处方id
	RxId string `json:"rx_id,omitempty" xml:"rx_id,omitempty"`
	// 医生信息
	Doctor *RxDoctorTopDto `json:"doctor,omitempty" xml:"doctor,omitempty"`
}

RxPrescriptionTopDto

type ServiceResult

type ServiceResult struct {
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// errMessage
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
	// errCode
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 返回数据对象
	Data string `json:"data,omitempty" xml:"data,omitempty"`
}

ServiceResult

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL