123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679 |
- package models
-
- import (
- "time"
- )
-
- type XtHisProject struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- ProjectName string `gorm:"column:project_name" json:"project_name" form:"project_name"`
- Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
- Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
- Price float64 `gorm:"column:price" json:"price" form:"price"`
- Unit string `gorm:"column:unit" json:"unit" form:"unit"`
- CostClassify int64 `gorm:"column:cost_classify" json:"cost_classify" form:"cost_classify"`
- ExecutiveSection int64 `gorm:"column:executive_section" json:"executive_section" form:"executive_section"`
- MedicalCoverage int64 `gorm:"column:medical_coverage" json:"medical_coverage" form:"medical_coverage"`
- StatisticalClassification int64 `gorm:"column:statistical_classification" json:"statistical_classification" form:"statistical_classification"`
- DiseaseDirectory int64 `gorm:"column:disease_directory" json:"disease_directory" form:"disease_directory"`
- IsRecord int64 `gorm:"column:is_record" json:"is_record" form:"is_record"`
- MedicalCode string `gorm:"column:medical_code" json:"medical_code" form:"medical_code"`
- TubeColor int64 `gorm:"column:tube_color" json:"tube_color" form:"tube_color"`
- MedicalStatus int64 `gorm:"column:medical_status" json:"medical_status" form:"medical_status"`
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
- Sign int64 `gorm:"column:sign" json:"sign" form:"sign"`
- DefaultNumber string `gorm:"column:default_number" json:"default_number" form:"default_number"`
- IsDefault int64 `gorm:"column:is_default" json:"is_default" form:"is_default"`
- IsCharge int64 `gorm:"column:is_charge" json:"is_charge" form:"is_charge"`
- IsEstimate int64 `gorm:"column:is_estimate" json:"is_estimate" form:"is_estimate"`
- IsWorkload int64 `gorm:"column:is_workload" json:"is_workload" form:"is_workload"`
- Sort string `gorm:"column:sort" json:"sort" form:"sort"`
- DoctorAdvice int64 `gorm:"column:doctor_advice" json:"doctor_advice" form:"doctor_advice"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
- SingleDose string `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
- ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
- DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
- NumberDays string `gorm:"column:number_days" json:"number_days" form:"number_days"`
- Total string `gorm:"column:total" json:"total" form:"total"`
- Category int64 `gorm:"column:category" json:"category" form:"category"`
- IsMark int64 `gorm:"column:is_mark" json:"is_mark" form:"is_mark"`
- SpecailProject int64 `gorm:"column:specail_project" json:"specail_project" form:"specail_project"`
- SocialSecurityDirectoryCode string `gorm:"column:social_security_directory_code" json:"social_security_directory_code" form:"social_security_directory_code"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- IsPrint int64 `gorm:"column:is_print" json:"is_print" form:"is_print"`
- FirstLetter string `gorm:"column:first_letter" json:"first_letter" form:"first_letter"`
- Bbx01 string `gorm:"column:bbx01" json:"bbx01" form:"bbx01"`
- Bby01 string `gorm:"column:bby01" json:"bby01" form:"bby01"`
- ZuobiaoId string `gorm:"column:zuobiao_id" json:"zuobiao_id" form:"zuobiao_id"`
- }
-
- func (XtHisProject) TableName() string {
- return "xt_his_project"
- }
-
- type XtHisProjectTeam struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- ProjectTeam string `gorm:"column:project_team" json:"project_team" form:"project_team"`
- Price float64 `gorm:"column:price" json:"price" form:"price"`
- Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
- Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
- TubeColor int64 `gorm:"column:tube_color" json:"tube_color" form:"tube_color"`
- TeamType int64 `gorm:"column:team_type" json:"team_type" form:"team_type"`
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
- ProjectId string `gorm:"column:project_id" json:"project_id" form:"project_id"`
- ItemId string `gorm:"column:item_id" json:"item_id" form:"item_id"`
- List []*XtHisProjectList `gorm:"-" json:"list" form:"list"`
- Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
- }
-
- func (XtHisProjectTeam) TableName() string {
- return "xt_his_project_team"
- }
-
- type XtHisDepartment struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- Name string `gorm:"column:name" json:"name" form:"name"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
- }
-
- func (XtHisDepartment) TableName() string {
- return "xt_his_department"
- }
-
- type HisPatient struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- BalanceAccountsType int64 `gorm:"column:balance_accounts_type" json:"balance_accounts_type" form:"balance_accounts_type"`
- MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number" form:"medical_insurance_number"`
- Name string `gorm:"column:name" json:"name" form:"name"`
- Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
- IdType int64 `gorm:"column:id_type" json:"id_type" form:"id_type"`
- MedicalTreatmentType int64 `gorm:"column:medical_treatment_type" json:"medical_treatment_type" form:"medical_treatment_type"`
- Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- Age int64 `gorm:"column:age" json:"age" form:"age"`
- PhoneNumber string `gorm:"column:phone_number" json:"phone_number" form:"phone_number"`
- IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
- RegisterType int64 `gorm:"column:register_type" json:"register_type" form:"register_type"`
- AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
- Departments int64 `gorm:"column:departments" json:"departments" form:"departments"`
- IsNeedCostOfProduction int64 `gorm:"column:is_need_cost_of_production" json:"is_need_cost_of_production" form:"is_need_cost_of_production"`
- RegisterCost float64 `gorm:"column:register_cost" json:"register_cost" form:"register_cost"`
- TreatmentCost float64 `gorm:"column:treatment_cost" json:"treatment_cost" form:"treatment_cost"`
- CostOfProduction float64 `gorm:"column:cost_of_production" json:"cost_of_production" form:"cost_of_production"`
- Total float64 `gorm:"column:total" json:"total" form:"total"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
- IsReturn int64 `gorm:"column:is_return" json:"is_return" form:"is_return"`
- PsnNo string `gorm:"column:psn_no" json:"psn_no" form:"psn_no"`
- PsnCertType string `gorm:"column:psn_cert_type" json:"psn_cert_type" form:"psn_cert_type"`
- Certno string `gorm:"column:certno" json:"certno" form:"certno"`
- PsnName string `gorm:"column:psn_name" json:"psn_name" form:"psn_name"`
- Gend string `gorm:"column:gend" json:"gend" form:"gend"`
- Naty string `gorm:"column:naty" json:"naty" form:"naty"`
- Brdy string `gorm:"column:brdy" json:"brdy" form:"brdy"`
- Iinfo string `gorm:"column:iinfo" json:"iinfo" form:"iinfo"`
- Idetinfo string `gorm:"column:idetinfo" json:"idetinfo" form:"idetinfo"`
- IptOtpNo string `gorm:"column:ipt_otp_no" json:"ipt_otp_no" form:"ipt_otp_no"`
- Phone string `gorm:"column:phone" json:"phone" form:"phone"`
- SocialType int64 `gorm:"column:social_type" json:"social_type" form:"social_type"`
- IdCardType int64 `gorm:"column:id_card_type" json:"id_card_type" form:"id_card_type"`
- PType int64 `gorm:"column:p_type" json:"p_type" form:"p_type"`
- Diagnosis string `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
- SickType int64 `gorm:"column:sick_type" json:"sick_type" form:"sick_type"`
- PatientInfo string `gorm:"column:patient_info" json:"patient_info" form:"patient_info"`
- InsuplcAdmdvs string `gorm:"column:insuplc_admdvs" json:"insuplc_admdvs" form:"insuplc_admdvs"`
- Insutype string `gorm:"column:insutype" json:"insutype" form:"insutype"`
- Emp string `gorm:"column:emp" json:"emp" form:"emp"`
- }
-
- func (HisPatient) TableName() string {
- return "his_patient"
- }
-
- type HisPrescriptionVm struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- Type int64 `gorm:"column:type" json:"type" form:"type"`
- Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
- Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
- Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
- Name string
- }
-
- type HisCaseHistoryTemplate struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- HistoryOfPresentIllness string `gorm:"column:history_of_present_illness" json:"history_of_present_illness" form:"history_of_present_illness"`
- PastHistory string `gorm:"column:past_history" json:"past_history" form:"past_history"`
- ChiefConplaint string `gorm:"column:chief_conplaint" json:"chief_conplaint" form:"chief_conplaint"`
- PersonalHistory string `gorm:"column:personal_history" json:"personal_history" form:"personal_history"`
- FamilyHistory string `gorm:"column:family_history" json:"family_history" form:"family_history"`
- Diagnostic string `gorm:"column:diagnostic" json:"diagnostic" form:"diagnostic"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- TemplateName string `gorm:"column:template_name" json:"template_name" form:"template_name"`
- TemplateRemark string `gorm:"column:template_remark" json:"template_remark" form:"template_remark"`
- Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
- Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
- UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
- DoctorAdvice string `gorm:"column:doctor_advice" json:"doctor_advice" form:"doctor_advice"`
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
- Sick int64 `gorm:"column:sick" json:"sick" form:"sick"`
- Diagnose int64 `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
- AllergicHistory string `gorm:"column:allergic_history" json:"allergic_history" form:"allergic_history"`
- PrimaryDisease string `gorm:"column:primary_disease" json:"primary_disease" form:"primary_disease"`
- ConfirmFailureDate int64 `gorm:"column:confirm_failure_date" json:"confirm_failure_date" form:"confirm_failure_date"`
- DrugAllergyHistory string `gorm:"column:drug_allergy_history" json:"drug_allergy_history" form:"drug_allergy_history"`
- PhysicalExamination string `gorm:"column:physical_examination" json:"physical_examination" form:"physical_examination"`
- SpecialInspection string `gorm:"column:special_inspection" json:"special_inspection" form:"special_inspection"`
- LabApparatus string `gorm:"column:lab_apparatus" json:"lab_apparatus" form:"lab_apparatus"`
- }
-
- func (HisCaseHistoryTemplate) TableName() string {
- return "his_case_history_template"
- }
-
- type HisList struct {
- Patient_id int64
- Advice_id int64
- Record_date int64
- Advice []HisDoctorAdviceInfo `gorm:json:"advices"`
- Project []HisPrescriptionProject `gorm:json:"project"`
- }
-
- type HisDoctorAdviceInfo struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- AdviceType int64 `gorm:"column:advice_type" json:"advice_type" form:"advice_type"`
- AdviceDate int64 `gorm:"column:advice_date" json:"advice_date" form:"advice_date"`
- StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
- AdviceName string `gorm:"column:advice_name" json:"advice_name" form:"advice_name"`
- AdviceDesc string `gorm:"column:advice_desc" json:"advice_desc" form:"advice_desc"`
- ReminderDate int64 `gorm:"column:reminder_date" json:"reminder_date" form:"reminder_date"`
- SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
- SingleDoseUnit string `gorm:"column:single_dose_unit" json:"single_dose_unit" form:"single_dose_unit"`
- PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
- PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
- DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
- ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
- AdviceDoctor int64 `gorm:"column:advice_doctor" json:"advice_doctor" form:"advice_doctor"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
- AdviceAffirm string `gorm:"column:advice_affirm" json:"advice_affirm" form:"advice_affirm"`
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
- StopTime int64 `gorm:"column:stop_time" json:"stop_time" form:"stop_time"`
- StopReason string `gorm:"column:stop_reason" json:"stop_reason" form:"stop_reason"`
- StopDoctor int64 `gorm:"column:stop_doctor" json:"stop_doctor" form:"stop_doctor"`
- StopState int64 `gorm:"column:stop_state" json:"stop_state" form:"stop_state"`
- ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
- ExecutionTime int64 `gorm:"column:execution_time" json:"execution_time" form:"execution_time"`
- ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
- ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
- Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
- CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
- CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
- DrugSpec float64 `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
- DrugSpecUnit string `gorm:"column:drug_spec_unit" json:"drug_spec_unit" form:"drug_spec_unit"`
- Groupno int64 `gorm:"column:groupno" json:"groupno" form:"groupno"`
- RemindType int64 `gorm:"column:remind_type" json:"remind_type" form:"remind_type"`
- FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type" form:"frequency_type"`
- DayCount int64 `gorm:"column:day_count" json:"day_count" form:"day_count"`
- WeekDay string `gorm:"column:week_day" json:"week_day" form:"week_day"`
- TemplateId string `gorm:"column:template_id" json:"template_id" form:"template_id"`
- Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
- DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
- Price float64 `gorm:"column:price" json:"price" form:"price"`
- PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
- MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
- FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
- Day int64 `gorm:"column:day" json:"day" form:"day"`
- ChildDoctorAdvice []*HisDoctorAdviceInfo `gorm:"ForeignKey:ParentId;AssociationForeignKey:ID" json:"child"`
- Drug Drug `gorm:"ForeignKey:ID;AssociationForeignKey:DrugId" json:"drug"`
- Diagnosis int64 `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
- Way int64 `gorm:"column:way" json:"way" form:"way"`
- HospApprFlag int64 `gorm:"column:hosp_appr_flag" json:"hosp_appr_flag" form:"hosp_appr_flag"`
- LmtUsedFlag int64 `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
- HisOrderInfo HisOrderInfo `gorm:"ForeignKey:AdviceId;AssociationForeignKey:ID" json:"order_info"`
- IsMedicine int64 `gorm:"column:is_medicine" json:"is_medicine" form:"is_medicine"`
- ExecutionFrequencyId int64 `gorm:"column:execution_frequency_id" json:"execution_frequency_id" form:"execution_frequency_id"`
- Child []*HisDoctorAdviceInfo `gorm:"ForeignKey:DrugId;AssociationForeignKey:DrugId" json:"child"`
- IsSettle int64 `gorm:"column:is_settle" json:"is_settle" form:"is_settle"`
- IsMobile int64 `gorm:"column:is_mobile" json:"is_mobile" form:"is_mobile"`
- IsSelfDrug int64 `gorm:"column:is_self_drug" json:"is_self_drug" form:"is_self_drug"`
- DrugWayCount string `gorm:"column:drug_way_count" json:"drug_way_count" form:"drug_way_count"`
- }
-
- func (HisDoctorAdviceInfo) TableName() string {
- return "his_doctor_advice_info"
- }
-
- type Drug struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- DrugName string `gorm:"column:drug_name" json:"drug_name" form:"drug_name"`
- Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
- Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
- DrugAlias string `gorm:"column:drug_alias" json:"drug_alias" form:"drug_alias"`
- DrugAliasPinyin string `gorm:"column:drug_alias_pinyin" json:"drug_alias_pinyin" form:"drug_alias_pinyin"`
- DrugAliasWubi string `gorm:"column:drug_alias_wubi" json:"drug_alias_wubi" form:"drug_alias_wubi"`
- DrugCategory int64 `gorm:"column:drug_category" json:"drug_category" form:"drug_category"`
- DrugSpec string `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
- DrugType int64 `gorm:"column:drug_type" json:"drug_type" form:"drug_type"`
- DrugStockLimit string `gorm:"column:drug_stock_limit" json:"drug_stock_limit" form:"drug_stock_limit"`
- DrugOriginPlace string `gorm:"column:drug_origin_place" json:"drug_origin_place" form:"drug_origin_place"`
- DrugDosageForm int64 `gorm:"column:drug_dosage_form" json:"drug_dosage_form" form:"drug_dosage_form"`
- MedicalInsuranceLevel int64 `gorm:"column:medical_insurance_level" json:"medical_insurance_level" form:"medical_insurance_level"`
- MaxUnit string `gorm:"column:max_unit" json:"max_unit" form:"max_unit"`
- MinNumber int64 `gorm:"column:min_number" json:"min_number" form:"min_number"`
- MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
- Dose string `gorm:"column:dose" json:"dose" form:"dose"`
- DoseUnit string `gorm:"column:dose_unit" json:"dose_unit" form:"dose_unit"`
- UnitMatrixing string `gorm:"column:unit_matrixing" json:"unit_matrixing" form:"unit_matrixing"`
- RetailPrice float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
- MinPrice float64 `gorm:"column:min_price" json:"min_price" form:"min_price"`
- LastPrice float64 `gorm:"column:last_price" json:"last_price" form:"last_price"`
- DrugControl int64 `gorm:"column:drug_control" json:"drug_control" form:"drug_control"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- DrugClassify string `gorm:"column:drug_classify" json:"drug_classify" form:"drug_classify"`
- DrugDose float64 `gorm:"column:drug_dose" json:"drug_dose" form:"drug_dose"`
- DrugDoseUnit int64 `gorm:"column:drug_dose_unit" json:"drug_dose_unit" form:"drug_dose_unit"`
- MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number" form:"medical_insurance_number"`
- ProvincesCode string `gorm:"column:provinces_code" json:"provinces_code" form:"provinces_code"`
- Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
- PharmacologyCategory int64 `gorm:"column:pharmacology_category" json:"pharmacology_category" form:"pharmacology_category"`
- StatisticsCategory int64 `gorm:"column:statistics_category" json:"statistics_category" form:"statistics_category"`
- Code string `gorm:"column:code" json:"code" form:"code"`
- IsSpecialDiseases int64 `gorm:"column:is_special_diseases" json:"is_special_diseases" form:"is_special_diseases"`
- IsRecord int64 `gorm:"column:is_record" json:"is_record" form:"is_record"`
- Agent string `gorm:"column:agent" json:"agent" form:"agent"`
- DrugStatus string `gorm:"column:drug_status" json:"drug_status" form:"drug_status"`
- LimitRemark string `gorm:"column:limit_remark" json:"limit_remark" form:"limit_remark"`
- DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
- ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
- SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
- PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
- Label int64 `gorm:"column:label" json:"label" form:"label"`
- Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
- IsUseDoctorAdvice int64 `gorm:"column:is_use_doctor_advice" json:"is_use_doctor_advice" form:"is_use_doctor_advice"`
- IsDefault int64 `gorm:"column:is_default" json:"is_default" form:"is_default"`
- IsChargePredict int64 `gorm:"column:is_charge_predict" json:"is_charge_predict" form:"is_charge_predict"`
- IsStatisticsWork int64 `gorm:"column:is_statistics_work" json:"is_statistics_work" form:"is_statistics_work"`
- IsChargeUse int64 `gorm:"column:is_charge_use" json:"is_charge_use" form:"is_charge_use"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
- DrugCode string `gorm:"column:drug_code" json:"drug_code" form:"drug_code"`
- Dealer int64 `gorm:"column:dealer" json:"dealer" form:"dealer"`
- PrescriptionMark int64 `gorm:"column:prescription_mark" json:"prescription_mark" form:"prescription_mark"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- DrugRemark string `gorm:"column:drug_remark" json:"drug_remark" form:"drug_remark"`
- SocialSecurityDirectoryCode string `gorm:"column:social_security_directory_code" json:"social_security_directory_code" form:"social_security_directory_code"`
- DoseCode string `gorm:"column:dose_code" json:"dose_code" form:"dose_code"`
- IsMark int64 `gorm:"column:is_mark" json:"is_mark" form:"is_mark"`
- HospApprFlag int64 `gorm:"column:hosp_appr_flag" json:"hosp_appr_flag" form:"hosp_appr_flag"`
- LmtUsedFlag int64 `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
- Dosage string `gorm:"column:dosage" json:"dosage" form:"dosage"`
- Unval string `gorm:"column:unval" json:"unval" form:"unval"`
- PackingUnit string `gorm:"column:packing_unit" json:"packing_unit" form:"packing_unit"`
- PackingPrice float64 `gorm:"column:packing_price" json:"packing_price" form:"packing_price"`
- DrugDay string `gorm:"column:drug_day" json:"drug_day" form:"drug_day"`
- Total float64 `gorm:"column:total" json:"total" form:"total"`
- PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
- IsUser int64 `gorm:"column:is_user" json:"is_user" form:"is_user"`
- Bck01b string `gorm:"column:bck01b" json:"bck01b" form:"bck01b"`
- Bby01 string `gorm:"column:bby01" json:"bby01" form:"bby01"`
- Bbx01 string `gorm:"column:bbx01" json:"bbx01" form:"bbx01"`
- }
-
- func (Drug) TableName() string {
- return "xt_base_drug"
- }
-
- type HisGroupAdvice struct {
- HisDoctorAdviceInfo
- Children []*HisGroupAdvice
- }
-
- type HisPatientCaseHistory struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
- BloodSugar float64 `gorm:"column:blood_sugar" json:"blood_sugar" form:"blood_sugar"`
- Pulse float64 `gorm:"column:pulse" json:"pulse" form:"pulse"`
- Sbp float64 `gorm:"column:sbp" json:"sbp" form:"sbp"`
- Dbp float64 `gorm:"column:dbp" json:"dbp" form:"dbp"`
- Height float64 `gorm:"column:height" json:"height" form:"height"`
- BloodFat float64 `gorm:"column:blood_fat" json:"blood_fat" form:"blood_fat"`
- SickType int64 `gorm:"column:sick_type" json:"sick_type" form:"sick_type"`
- Symptom string `gorm:"column:symptom" json:"symptom" form:"symptom"`
- SickDate int64 `gorm:"column:sick_date" json:"sick_date" form:"sick_date"`
- IsInfect int64 `gorm:"column:is_infect" json:"is_infect" form:"is_infect"`
- HistoryOfPresentIllness string `gorm:"column:history_of_present_illness" json:"history_of_present_illness" form:"history_of_present_illness"`
- PastHistory string `gorm:"column:past_history" json:"past_history" form:"past_history"`
- Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
- ChiefConplaint string `gorm:"column:chief_conplaint" json:"chief_conplaint" form:"chief_conplaint"`
- PersonalHistory string `gorm:"column:personal_history" json:"personal_history" form:"personal_history"`
- FamilyHistory string `gorm:"column:family_history" json:"family_history" form:"family_history"`
- Diagnostic string `gorm:"column:diagnostic" json:"diagnostic" form:"diagnostic"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- DeliveryWay int64 `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
- Breathing float64 `gorm:"column:breathing" json:"breathing" form:"breathing"`
- DoctorAdvice string `gorm:"column:doctor_advice" json:"doctor_advice" form:"doctor_advice"`
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
- Sick int64 `gorm:"column:sick" json:"sick" form:"sick"`
- Diagnose int64 `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
- AllergicHistory string `gorm:"column:allergic_history" json:"allergic_history" form:"allergic_history"`
- PrimaryDisease string `gorm:"column:primary_disease" json:"primary_disease" form:"primary_disease"`
- ConfirmFailureDate int64 `gorm:"column:confirm_failure_date" json:"confirm_failure_date" form:"confirm_failure_date"`
- DrugAllergyHistory string `gorm:"column:drug_allergy_history" json:"drug_allergy_history" form:"drug_allergy_history"`
- PhysicalExamination string `gorm:"column:physical_examination" json:"physical_examination" form:"physical_examination"`
- SpecialInspection string `gorm:"column:special_inspection" json:"special_inspection" form:"special_inspection"`
- LabApparatus string `gorm:"column:lab_apparatus" json:"lab_apparatus" form:"lab_apparatus"`
- }
-
- func (HisPatientCaseHistory) TableName() string {
- return "his_patient_case_history"
- }
-
- type HisPrescriptionInfo struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
- Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
- Diagnosis string `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
- RegisterType int64 `gorm:"column:register_type" json:"register_type" form:"register_type"`
- Doctor string `gorm:"column:doctor" json:"doctor" form:"doctor"`
- Departments int64 `gorm:"column:departments" json:"departments" form:"departments"`
- SickHistory string `gorm:"column:sick_history" json:"sick_history" form:"sick_history"`
- PrescriptionNumber string `gorm:"column:prescription_number" json:"prescription_number" form:"prescription_number"`
- PrescriptionStatus int64 `gorm:"column:prescription_status" json:"prescription_status" form:"prescription_status"`
- BatchNumber string `gorm:"column:batch_number" json:"batch_number" form:"batch_number"`
- DoctorId int64 `gorm:"column:doctor_id" json:"doctor_id" form:"doctor_id"`
- XtHisDepartment XtHisDepartment `gorm:"ForeignKey:ID;AssociationForeignKey:Departments" json:"department"`
- SickType int64 `gorm:"column:sick_type" json:"sick_type" form:"sick_type"`
- PType int64 `gorm:"column:p_type" json:"p_type" form:"p_type"`
- PatientDiagnosis string `gorm:"column:patient_diagnosis" json:"patient_diagnosis" form:"patient_diagnosis"`
- }
-
- func (HisPrescriptionInfo) TableName() string {
- return "his_prescription_info"
- }
-
- type TempHisOrder struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- SettleAccountsDate int64 `gorm:"column:settle_accounts_date" json:"settle_accounts_date" form:"settle_accounts_date"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- Infcode int64 `gorm:"column:infcode" json:"infcode" form:"infcode"`
- WarnMsg string `gorm:"column:warn_msg" json:"warn_msg" form:"warn_msg"`
- Cainfo string `gorm:"column:cainfo" json:"cainfo" form:"cainfo"`
- ErrMsg string `gorm:"column:err_msg" json:"err_msg" form:"err_msg"`
- RespondTime string `gorm:"column:respond_time" json:"respond_time" form:"respond_time"`
- InfRefmsgid string `gorm:"column:inf_refmsgid" json:"inf_refmsgid" form:"inf_refmsgid"`
- OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
- MdtrtId string `gorm:"column:mdtrt_id" json:"mdtrt_id" form:"mdtrt_id"`
- SetlId string `gorm:"column:setl_id" json:"setl_id" form:"setl_id"`
- PsnNo string `gorm:"column:psn_no" json:"psn_no" form:"psn_no"`
- PsnName string `gorm:"column:psn_name" json:"psn_name" form:"psn_name"`
- PsnCertType string `gorm:"column:psn_cert_type" json:"psn_cert_type" form:"psn_cert_type"`
- Certno string `gorm:"column:certno" json:"certno" form:"certno"`
- Gend string `gorm:"column:gend" json:"gend" form:"gend"`
- Naty string `gorm:"column:naty" json:"naty" form:"naty"`
- Brdy time.Time `gorm:"column:brdy" json:"brdy" form:"brdy"`
- Age float64 `gorm:"column:age" json:"age" form:"age"`
- Insutype string `gorm:"column:insutype" json:"insutype" form:"insutype"`
- PsnType string `gorm:"column:psn_type" json:"psn_type" form:"psn_type"`
- CvlservFlag string `gorm:"column:cvlserv_flag" json:"cvlserv_flag" form:"cvlserv_flag"`
- SetlTime string `gorm:"column:setl_time" json:"setl_time" form:"setl_time"`
- MdtrtCertType string `gorm:"column:mdtrt_cert_type" json:"mdtrt_cert_type" form:"mdtrt_cert_type"`
- MedType string `gorm:"column:med_type" json:"med_type" form:"med_type"`
- MedfeeSumamt float64 `gorm:"column:medfee_sumamt" json:"medfee_sumamt" form:"medfee_sumamt"`
- FulamtOwnpayAmt float64 `gorm:"column:fulamt_ownpay_amt" json:"fulamt_ownpay_amt" form:"fulamt_ownpay_amt"`
- OverlmtSelfPay float64 `gorm:"column:overlmt_self_pay" json:"overlmt_self_pay" form:"overlmt_self_pay"`
- PreselfpayAmt float64 `gorm:"column:preselfpay_amt" json:"preselfpay_amt" form:"preselfpay_amt"`
- InscpScpAmt float64 `gorm:"column:inscp_scp_amt" json:"inscp_scp_amt" form:"inscp_scp_amt"`
- ActPayDedc float64 `gorm:"column:act_pay_dedc" json:"act_pay_dedc" form:"act_pay_dedc"`
- HifpPay float64 `gorm:"column:hifp_pay" json:"hifp_pay" form:"hifp_pay"`
- CvlservPay float64 `gorm:"column:cvlserv_pay" json:"cvlserv_pay" form:"cvlserv_pay"`
- PoolPropSelfpay float64 `gorm:"column:pool_prop_selfpay" json:"pool_prop_selfpay" form:"pool_prop_selfpay"`
- HifesPay float64 `gorm:"column:hifes_pay" json:"hifes_pay" form:"hifes_pay"`
- HifmiPay float64 `gorm:"column:hifmi_pay" json:"hifmi_pay" form:"hifmi_pay"`
- HifobPay float64 `gorm:"column:hifob_pay" json:"hifob_pay" form:"hifob_pay"`
- MafPay float64 `gorm:"column:maf_pay" json:"maf_pay" form:"maf_pay"`
- OthPay float64 `gorm:"column:oth_pay" json:"oth_pay" form:"oth_pay"`
- FundPaySumamt float64 `gorm:"column:fund_pay_sumamt" json:"fund_pay_sumamt" form:"fund_pay_sumamt"`
- PsnPartAmt float64 `gorm:"column:psn_part_amt" json:"psn_part_amt" form:"psn_part_amt"`
- AcctPay float64 `gorm:"column:acct_pay" json:"acct_pay" form:"acct_pay"`
- PsnCashPay float64 `gorm:"column:psn_cash_pay" json:"psn_cash_pay" form:"psn_cash_pay"`
- HospPartAmt float64 `gorm:"column:hosp_part_amt" json:"hosp_part_amt" form:"hosp_part_amt"`
- Balc float64 `gorm:"column:balc" json:"balc" form:"balc"`
- AcctMulaidPay float64 `gorm:"column:acct_mulaid_pay" json:"acct_mulaid_pay" form:"acct_mulaid_pay"`
- MedinsSetlId string `gorm:"column:medins_setl_id" json:"medins_setl_id" form:"medins_setl_id"`
- ClrOptins string `gorm:"column:clr_optins" json:"clr_optins" form:"clr_optins"`
- ClrWay string `gorm:"column:clr_way" json:"clr_way" form:"clr_way"`
- ClrType string `gorm:"column:clr_type" json:"clr_type" form:"clr_type"`
- SetlDetail string `gorm:"column:setl_detail" json:"setl_detail" form:"setl_detail"`
- IsMedicineInsurance int64 `gorm:"column:is_medicine_insurance" json:"is_medicine_insurance" form:"is_medicine_insurance"`
- PayWay int64 `gorm:"column:pay_way" json:"pay_way" form:"pay_way"`
- OthDesc string `gorm:"oth_desc" json:"oth_desc" form:"oth_desc"`
- PayWays string `gorm:"pay_ways" json:"pay_ways" form:"pay_ways"`
-
- PayPrice float64 `gorm:"column:pay_price" json:"pay_price" form:"pay_price"`
- PayCardNo string `gorm:"column:pay_card_no" json:"pay_card_no" form:"pay_card_no"`
- DiscountPrice float64 `gorm:"column:discount_price" json:"discount_price" form:"discount_price"`
- PreferentialPrice float64 `gorm:"column:preferential_price" json:"preferential_price" form:"preferential_price"`
- RealityPrice float64 `gorm:"column:reality_price" json:"reality_price" form:"reality_price"`
- FoundPrice float64 `gorm:"column:found_price" json:"found_price" form:"found_price"`
- MedicalInsurancePrice float64 `gorm:"column:medical_insurance_price" json:"medical_insurance_price" form:"medical_insurance_price"`
- PrivatePrice float64 `gorm:"column:private_price" json:"private_price" form:"private_price"`
- DepartmentName string `gorm:"-" json:"department_name" form:"department_name"`
- DoctorName string `gorm:"-" json:"doctor_name" form:"doctor_name"`
- Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
- PType int64 `gorm:"column:p_type" json:"p_type" form:"p_type"`
- AccountPrice float64 `gorm:"column:account_price" json:"account_price" form:"account_price"`
- FaPiaoCode string `gorm:"column:fa_piao_code" json:"fa_piao_code" form:"fa_piao_code"`
- FaPiaoNumber string `gorm:"column:fa_piao_number" json:"fa_piao_number" form:"fa_piao_number"`
-
- AdminUser AdminUser `gorm:"ForeignKey:ID;AssociationForeignKey:OrderId" json:"order_info"`
-
- SettleType int64 `gorm:"column:settle_type" json:"settle_type" form:"settle_type"`
- SettleStartTime int64 `gorm:"column:settle_start_time" json:"settle_start_time" form:"settle_start_time"`
- SettleEndTime int64 `gorm:"column:settle_end_time" json:"settle_end_time" form:"settle_end_time"`
- IsPre int64 `gorm:"column:is_pre" json:"is_pre" form:"is_pre"`
- Diagnosis string `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
-
- IsUploadDiagnose int64 `gorm:"column:is_upload_diagnose" json:"is_upload_diagnose" form:"is_upload_diagnose"`
- IsUploadOrderInfo int64 `gorm:"column:is_upload_order_info" json:"is_upload_order_info" form:"is_upload_order_info"`
- IsUploadSuccess int64 `gorm:"column:is_upload_success" json:"is_upload_success" form:"is_upload_success"`
- }
-
- func (TempHisOrder) TableName() string {
- return "his_order"
- }
-
- type HisPrescription struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- Type int64 `gorm:"column:type" json:"type" form:"type"`
- Doctor string `gorm:"column:doctor" json:"doctor" form:"doctor"`
- Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
- Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
- OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
- PreTime int64 `gorm:"column:pre_time" json:"pre_time" form:"pre_time"`
- BatchNumber string `gorm:"column:batch_number" json:"batch_number" form:"batch_number"`
- PrescriptionNumber string `gorm:"column:prescription_number" json:"prescription_number" form:"prescription_number"`
- Patients Patients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"patient"`
- HisPatient VMHisPatient `gorm:"ForeignKey:PatientId;AssociationForeignKey:patient_id" json:"hisPatient"`
- HisDoctorAdviceInfo []*HisDoctorAdviceInfo `gorm:"ForeignKey:PrescriptionId;AssociationForeignKey:ID" json:"advices"`
- HisPrescriptionProject []*HisPrescriptionProject `gorm:"ForeignKey:PrescriptionId;AssociationForeignKey:ID" json:"project"`
- HisAdditionalCharge []*HisAdditionalCharge `gorm:"ForeignKey:PrescriptionId;AssociationForeignKey:ID" json:"addition"`
- HisPrescriptionInfo HisPrescriptionInfo `gorm:"ForeignKey:PatientId,RecordDate;AssociationForeignKey:PatientId,RecordDate" json:"info"`
- Total string `gorm:"-" json:"total" form:"total"`
- PType int64 `gorm:"column:p_type" json:"p_type" form:"p_type"`
- MedType string `gorm:"column:med_type" json:"med_type" form:"med_type"`
- TempHisOrder TempHisOrder `gorm:"ForeignKey:Number,MedType;AssociationForeignKey:BatchNumber,MedType" json:"order"`
- IsMedicine int64 `gorm:"column:is_medicine" json:"is_medicine" form:"is_medicine"`
- }
-
- func (HisPrescription) TableName() string {
- return "his_prescription"
- }
-
- type HisProject struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- ProjectName string `gorm:"column:project_name" json:"project_name" form:"project_name"`
- Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
- Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
- Price float64 `gorm:"column:price" json:"price" form:"price"`
- Unit string `gorm:"column:unit" json:"unit" form:"unit"`
- CostClassify int64 `gorm:"column:cost_classify" json:"cost_classify" form:"cost_classify"`
- ExecutiveSection int64 `gorm:"column:executive_section" json:"executive_section" form:"executive_section"`
- MedicalCoverage int64 `gorm:"column:medical_coverage" json:"medical_coverage" form:"medical_coverage"`
- StatisticalClassification int64 `gorm:"column:statistical_classification" json:"statistical_classification" form:"statistical_classification"`
- DiseaseDirectory int64 `gorm:"column:disease_directory" json:"disease_directory" form:"disease_directory"`
- IsRecord int64 `gorm:"column:is_record" json:"is_record" form:"is_record"`
- MedicalCode string `gorm:"column:medical_code" json:"medical_code" form:"medical_code"`
- TubeColor int64 `gorm:"column:tube_color" json:"tube_color" form:"tube_color"`
- MedicalStatus int64 `gorm:"column:medical_status" json:"medical_status" form:"medical_status"`
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
- Sign int64 `gorm:"column:sign" json:"sign" form:"sign"`
- DefaultNumber string `gorm:"column:default_number" json:"default_number" form:"default_number"`
- IsDefault int64 `gorm:"column:is_default" json:"is_default" form:"is_default"`
- IsCharge int64 `gorm:"column:is_charge" json:"is_charge" form:"is_charge"`
- IsEstimate int64 `gorm:"column:is_estimate" json:"is_estimate" form:"is_estimate"`
- IsWorkload int64 `gorm:"column:is_workload" json:"is_workload" form:"is_workload"`
- Sort string `gorm:"column:sort" json:"sort" form:"sort"`
- DoctorAdvice int64 `gorm:"column:doctor_advice" json:"doctor_advice" form:"doctor_advice"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
- DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
- NumberDays string `gorm:"column:number_days" json:"number_days" form:"number_days"`
- Total string `gorm:"column:total" json:"total" form:"total"`
- Category int64 `gorm:"column:category" json:"category" form:"category"`
- IsMark int64 `gorm:"column:is_mark" json:"is_mark" form:"is_mark"`
- SpecailProject int64 `gorm:"column:specail_project" json:"specail_project" form:"specail_project"`
- SocialSecurityDirectoryCode string `gorm:"column:social_security_directory_code" json:"social_security_directory_code" form:"social_security_directory_code"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- SingleDose string `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
- ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
- IsPrint int64 `gorm:"column:is_print" json:"is_print" form:"is_print"`
- FirstLetter string `gorm:"column:first_letter" json:"first_letter" form:"first_letter"`
- Bbx01 int64 `gorm:"column:bbx01" json:"bbx01" form:"bbx01"`
- Bby01 int64 `gorm:"column:bby01" json:"bby01" form:"bby01"`
- }
-
- func (HisProject) TableName() string {
- return "xt_his_project"
- }
-
- type HisProjectTeam struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- ProjectTeam string `gorm:"column:project_team" json:"project_team" form:"project_team"`
- Price float64 `gorm:"column:price" json:"price" form:"price"`
- Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
- Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
- TubeColor int64 `gorm:"column:tube_color" json:"tube_color" form:"tube_color"`
- TeamType int64 `gorm:"column:team_type" json:"team_type" form:"team_type"`
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
- ProjectId string `gorm:"column:project_id" json:"project_id" form:"project_id"`
- }
-
- func (HisProjectTeam) TableName() string {
- return "xt_his_project_team"
- }
-
- type HisAdditionalCharge struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- Price float64 `gorm:"column:price" json:"price" form:"price"`
- AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- ItemName string `gorm:"column:item_name" json:"item_name" form:"item_name"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
- Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
- Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
- BatchNumber string `gorm:"column:batch_number" json:"batch_number" form:"batch_number"`
- OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
- PrescriptionNumber string `gorm:"column:prescription_number" json:"prescription_number" form:"prescription_number"`
- XtHisAddtionConfig XtHisAddtionConfig `gorm:"ForeignKey:ID;AssociationForeignKey:ItemId" json:"config"`
- FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
- PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
- Count int64 `gorm:"column:count" json:"count" form:"count"`
- MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
- }
-
- func (HisAdditionalCharge) TableName() string {
- return "his_additional_charge"
- }
-
- type HisDoctorAdviceParentTemplate struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
- Name string `gorm:"column:name" json:"name" form:"name"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
- AdviceType int64 `gorm:"column:advice_type" json:"advice_type" form:"advice_type"`
- HisDoctorAdviceTemplate []*HisDoctorAdviceTemplate `gorm:"ForeignKey:TemplateId;AssociationForeignKey:ID" json:"advices"`
- }
-
- func (HisDoctorAdviceParentTemplate) TableName() string {
- return "his_doctor_advice_parent_template"
- }
-
- type VMDrug struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- DrugName string `gorm:"column:drug_name" json:"drug_name" form:"drug_name"`
- Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
- Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
- DrugAlias string `gorm:"column:drug_alias" json:"drug_alias" form:"drug_alias"`
- DrugAliasPinyin string `gorm:"column:drug_alias_pinyin" json:"drug_alias_pinyin" form:"drug_alias_pinyin"`
- DrugAliasWubi string `gorm:"column:drug_alias_wubi" json:"drug_alias_wubi" form:"drug_alias_wubi"`
- DrugCategory int64 `gorm:"column:drug_category" json:"drug_category" form:"drug_category"`
- DrugSpec string `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
- DrugType int64 `gorm:"column:drug_type" json:"drug_type" form:"drug_type"`
- DrugStockLimit string `gorm:"column:drug_stock_limit" json:"drug_stock_limit" form:"drug_stock_limit"`
- DrugOriginPlace string `gorm:"column:drug_origin_place" json:"drug_origin_place" form:"drug_origin_place"`
- DrugDosageForm int64 `gorm:"column:drug_dosage_form" json:"drug_dosage_form" form:"drug_dosage_form"`
- MedicalInsuranceLevel int64 `gorm:"column:medical_insurance_level" json:"medical_insurance_level" form:"medical_insurance_level"`
- MaxUnit string `gorm:"column:max_unit" json:"max_unit" form:"max_unit"`
- MinNumber int64 `gorm:"column:min_number" json:"min_number" form:"min_number"`
- MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
- Dose string `gorm:"column:dose" json:"dose" form:"dose"`
- DoseUnit string `gorm:"column:dose_unit" json:"dose_unit" form:"dose_unit"`
- UnitMatrixing string `gorm:"column:unit_matrixing" json:"unit_matrixing" form:"unit_matrixing"`
- RetailPrice float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
- MinPrice float64 `gorm:"column:min_price" json:"min_price" form:"min_price"`
- LastPrice float64 `gorm:"column:last_price" json:"last_price" form:"last_price"`
- DrugControl int64 `gorm:"column:drug_control" json:"drug_control" form:"drug_control"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- DrugClassify string `gorm:"column:drug_classify" json:"drug_classify" form:"drug_classify"`
- DrugDose float64 `gorm:"column:drug_dose" json:"drug_dose" form:"drug_dose"`
- DrugDoseUnit int64 `gorm:"column:drug_dose_unit" json:"drug_dose_unit" form:"drug_dose_unit"`
- MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number" form:"medical_insurance_number"`
- ProvincesCode string `gorm:"column:provinces_code" json:"provinces_code" form:"provinces_code"`
-
- Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
- PharmacologyCategory int64 `gorm:"column:pharmacology_category" json:"pharmacology_category" form:"pharmacology_category"`
- StatisticsCategory int64 `gorm:"column:statistics_category" json:"statistics_category" form:"statistics_category"`
- Code string `gorm:"column:code" json:"code" form:"code"`
- IsSpecialDiseases int64 `gorm:"column:is_special_diseases" json:"is_special_diseases" form:"is_special_diseases"`
- IsRecord int64 `gorm:"column:is_record" json:"is_record" form:"is_record"`
- Agent string `gorm:"column:agent" json:"agent" form:"agent"`
- DrugStatus string `gorm:"column:drug_status" json:"drug_status" form:"drug_status"`
- LimitRemark string `gorm:"column:limit_remark" json:"limit_remark" form:"limit_remark"`
- DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
- ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
- SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
- PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
- Label int64 `gorm:"column:label" json:"label" form:"label"`
- Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
- IsUseDoctorAdvice int64 `gorm:"column:is_use_doctor_advice" json:"is_use_doctor_advice" form:"is_use_doctor_advice"`
- IsDefault int64 `gorm:"column:is_default" json:"is_default" form:"is_default"`
- IsChargePredict int64 `gorm:"column:is_charge_predict" json:"is_charge_predict" form:"is_charge_predict"`
- IsStatisticsWork int64 `gorm:"column:is_statistics_work" json:"is_statistics_work" form:"is_statistics_work"`
- IsChargeUse int64 `gorm:"column:is_charge_use" json:"is_charge_use" form:"is_charge_use"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
- DrugCode string `gorm:"column:drug_code" json:"drug_code" form:"drug_code"`
- Dealer int64 `gorm:"column:dealer" json:"dealer" form:"dealer"`
- PrescriptionMark int64 `gorm:"column:prescription_mark" json:"prescription_mark" form:"prescription_mark"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- DrugRemark string `gorm:"column:drug_remark" json:"drug_remark" form:"drug_remark"`
- SocialSecurityDirectoryCode string `gorm:"column:social_security_directory_code" json:"social_security_directory_code" form:"social_security_directory_code"`
- DoseCode string `gorm:"column:dose_code" json:"dose_code" form:"dose_code"`
- IsMark int64 `gorm:"column:is_mark" json:"is_mark" form:"is_mark"`
- HospApprFlag int64 `gorm:"column:hosp_appr_flag" json:"hosp_appr_flag" form:"hosp_appr_flag"`
- LmtUsedFlag int64 `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
- Dosage string `gorm:"column:dosage" json:"dosage" form:"dosage"`
- Unval string `gorm:"column:unval" json:"unval" form:"unval"`
- PackingUnit string `gorm:"column:packing_unit" json:"packing_unit" form:"packing_unit"`
- PackingPrice float64 `gorm:"column:packing_price" json:"packing_price" form:"packing_price"`
- DrugDay string `gorm:"column:drug_day" json:"drug_day" form:"drug_day"`
- Total float64 `gorm:"column:total" json:"total" form:"total"`
- PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
- }
-
- func (VMDrug) TableName() string {
- return "xt_base_drug"
- }
-
- type HisDoctorAdviceTemplate struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
- AdviceName string `gorm:"column:advice_name" json:"advice_name" form:"advice_name"`
- AdviceDesc string `gorm:"column:advice_desc" json:"advice_desc" form:"advice_desc"`
- SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
- SingleDoseUnit string `gorm:"column:single_dose_unit" json:"single_dose_unit" form:"single_dose_unit"`
- PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
- PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
- DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
- ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
- AdviceDoctor int64 `gorm:"column:advice_doctor" json:"advice_doctor" form:"advice_doctor"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
- TemplateId int64 `gorm:"column:template_id" json:"template_id" form:"template_id"`
- DrugSpec string `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
- DrugSpecUnit string `gorm:"column:drug_spec_unit" json:"drug_spechis_unit" form:"drug_spec_unit"`
- ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
- AdviceType int64 `gorm:"column:advice_type" json:"advice_type" form:"advice_type"`
- DayCount int64 `gorm:"column:day_count" json:"day_count" form:"day_count"`
- WeekDays string `gorm:"column:week_days" json:"week_days" form:"week_days"`
- FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type" form:"frequency_type"`
- DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
- Way int64 `gorm:"column:way" json:"way" form:"way"`
- DrugNameId int64 `gorm:"column:drug_name_id" json:"drug_name_id" form:"drug_name_id"`
- VMDrug VMDrug `gorm:"ForeignKey:TemplateId;AssociationForeignKey:ID" json:"advices"`
- }
-
- func (HisDoctorAdviceTemplate) TableName() string {
- return "his_doctor_advice_template"
- }
-
- type HisPrintPrescriptionProject struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
- Price float64 `gorm:"column:price" json:"price" form:"price"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
- Count string `gorm:"column:count" json:"count" form:"count"`
- FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
- MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
- SingleDose string `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
- DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
- ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
- Day string `gorm:"column:day" json:"day" form:"day"`
- HisProject HisProject `gorm:"ForeignKey:ProjectId;AssociationForeignKey:ID" json:"project"`
- GoodInfo GoodInfo `gorm:"ForeignKey:ProjectId;AssociationForeignKey:ID" json:"good_info"`
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
- Unit string `gorm:"column:unit" json:"unit" form:"unit"`
- Type int64 `gorm:"column:type" json:"type" form:"type"`
- Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
- ExecutionTime int64 `gborm:"column:execution_time" json:"execution_time" form:"execution_time"`
- ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
- ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
- CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
- CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
- Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
- StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
- TeamId int64 `gorm:"column:team_id" json:"team_id" form:"team_id"`
-
- XtHisProjectTeam XtHisProjectTeam `gorm:"ForeignKey:TeamId;AssociationForeignKey:ID" json:"team"`
-
- FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type" form:"frequency_type"`
- DayCount int64 `gorm:"column:day_count" json:"day_count" form:"day_count"`
- WeekDay string `gorm:"column:week_day" json:"week_day" form:"week_day"`
- IsCheckTeam int64 `gorm:"-" json:"is_check_team" form:"is_check_team"`
- ExecutionFrequencyId int64 `gorm:"column:execution_frequency_id" json:"execution_frequency_id" form:"execution_frequency_id"`
- }
-
- func (HisPrintPrescriptionProject) TableName() string {
- return "his_prescription_project"
- }
-
- type HisPrescriptionProject struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
- Price float64 `gorm:"column:price" json:"price" form:"price"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
- Count string `gorm:"column:count" json:"count" form:"count"`
- FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
- MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
- SingleDose string `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
- DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
- ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
- Day string `gorm:"column:day" json:"day" form:"day"`
- HisProject HisProject `gorm:"ForeignKey:ProjectId;AssociationForeignKey:ID" json:"project"`
- GoodInfo GoodInfo `gorm:"ForeignKey:ProjectId;AssociationForeignKey:ID" json:"good_info"`
-
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
- Unit string `gorm:"column:unit" json:"unit" form:"unit"`
- Type int64 `gorm:"column:type" json:"type" form:"type"`
-
- Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
- ExecutionTime int64 `gborm:"column:execution_time" json:"execution_time" form:"execution_time"`
- ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
- ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
- CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
- CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
- Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
- StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
- TeamId int64 `gorm:"column:team_id" json:"team_id" form:"team_id"`
-
- XtHisProjectTeam XtHisProjectTeam `gorm:"ForeignKey:TeamId;AssociationForeignKey:ID" json:"team"`
-
- FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type" form:"frequency_type"`
- DayCount int64 `gorm:"column:day_count" json:"day_count" form:"day_count"`
- WeekDay string `gorm:"column:week_day" json:"week_day" form:"week_day"`
- IsCheckTeam int64 `gorm:"-" json:"is_check_team" form:"is_check_team"`
- HisOrderInfo HisOrderInfo `gorm:"ForeignKey:ProjectId;AssociationForeignKey:ID" json:"order_info"`
- ExecutionFrequencyId int64 `gorm:"column:execution_frequency_id" json:"execution_frequency_id" form:"execution_frequency_id"`
- IsOut int64 `gorm:"column:is_out" json:"is_out" form:"is_out"` //新增字段
-
- }
-
- func (HisPrescriptionProject) TableName() string {
- return "his_prescription_project"
- }
-
- type SchedulesVm struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
- BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
- ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
- ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
- ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
- Name string `gorm:"column:name" json:"name" form:"name"`
- IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
- }
-
- type HisProjectListVm struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- Number int64 `gorm:"column:number" json:"number" form:"number"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Price float64 `gorm:"column:price" json:"price" form:"price"`
- Unit string `gorm:"column:unit" json:"unit" form:"unit"`
- ProjectName string `gorm:"column:project_name" json:"project_name" form:"project_name"`
- CostClassify int64 `gorm:"column:cost_classify" json:"cost_classify" form:"cost_classify"`
- }
-
- type XtHisProjectList struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- Number int64 `gorm:"column:number" json:"number" form:"number"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
- TeamId int64 `gorm:"column:team_id" json:"team_id" form:"team_id"`
- Type int64 `gorm:"column:type" json:"type" form:"type"`
- XtHisProject XtHisProject `gorm:"ForeignKey:ID;AssociationForeignKey:ProjectId" json:"project"`
- GoodInfo GoodInfo `gorm:"ForeignKey:ID;AssociationForeignKey:ProjectId" json:"good_info"`
- PN string `gorm:"-" json:"pn" form:"pn"`
- }
-
- func (XtHisProjectList) TableName() string {
- return "xt_his_project_list"
- }
-
- type XtHisPatient struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- BalanceAccountsType int64 `gorm:"column:balance_accounts_type" json:"balance_accounts_type" form:"balance_accounts_type"`
- MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number" form:"medical_insurance_number"`
- Name string `gorm:"column:name" json:"name" form:"name"`
- Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
- IdType int64 `gorm:"column:id_type" json:"id_type" form:"id_type"`
- MedicalTreatmentType int64 `gorm:"column:medical_treatment_type" json:"medical_treatment_type" form:"medical_treatment_type"`
- Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- Age int64 `gorm:"column:age" json:"age" form:"age"`
- PhoneNumber string `gorm:"column:phone_number" json:"phone_number" form:"phone_number"`
- IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
- RegisterType int64 `gorm:"column:register_type" json:"register_type" form:"register_type"`
- AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
- Departments int64 `gorm:"column:departments" json:"departments" form:"departments"`
- IsNeedCostOfProduction int64 `gorm:"column:is_need_cost_of_production" json:"is_need_cost_of_production" form:"is_need_cost_of_production"`
- RegisterCost float64 `gorm:"column:register_cost" json:"register_cost" form:"register_cost"`
- TreatmentCost float64 `gorm:"column:treatment_cost" json:"treatment_cost" form:"treatment_cost"`
- CostOfProduction float64 `gorm:"column:cost_of_production" json:"cost_of_production" form:"cost_of_production"`
- Total float64 `gorm:"column:total" json:"total" form:"total"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
- IsReturn int64 `gorm:"column:is_return" json:"is_return" form:"is_return"`
- Phone string `gorm:"column:phone" json:"phone" form:"phone"`
- SocialType int64 `gorm:"column:social_type" json:"social_type" form:"social_type"`
- IdCardType int64 `gorm:"column:id_card_type" json:"id_card_type" form:"id_card_type"`
- PType string `gorm:"column:p_type" json:"p_type" form:"p_type"`
- Diagnosis string `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
- SickType int64 `gorm:"column:sick_type" json:"sick_type" form:"sick_type"`
- //HisOrder models.HisOrder `gorm:"ForeignKey:PatientId,RecordDate;AssociationForeignKey:PatientId,SettleAccountsDate" json:"order"`
- }
-
- func (XtHisPatient) TableName() string {
- return "his_patient"
- }
-
- type HisOrder struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- SettleAccountsDate int64 `gorm:"column:settle_accounts_date" json:"settle_accounts_date" form:"settle_accounts_date"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- Infcode int64 `gorm:"column:infcode" json:"infcode" form:"infcode"`
- WarnMsg string `gorm:"column:warn_msg" json:"warn_msg" form:"warn_msg"`
- Cainfo string `gorm:"column:cainfo" json:"cainfo" form:"cainfo"`
- ErrMsg string `gorm:"column:err_msg" json:"err_msg" form:"err_msg"`
- RespondTime string `gorm:"column:respond_time" json:"respond_time" form:"respond_time"`
- InfRefmsgid string `gorm:"column:inf_refmsgid" json:"inf_refmsgid" form:"inf_refmsgid"`
- OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
- MdtrtId string `gorm:"column:mdtrt_id" json:"mdtrt_id" form:"mdtrt_id"`
- SetlId string `gorm:"column:setl_id" json:"setl_id" form:"setl_id"`
- PsnNo string `gorm:"column:psn_no" json:"psn_no" form:"psn_no"`
- PsnName string `gorm:"column:psn_name" json:"psn_name" form:"psn_name"`
- PsnCertType string `gorm:"column:psn_cert_type" json:"psn_cert_type" form:"psn_cert_type"`
- Certno string `gorm:"column:certno" json:"certno" form:"certno"`
- Gend string `gorm:"column:gend" json:"gend" form:"gend"`
- Naty string `gorm:"column:naty" json:"naty" form:"naty"`
- Brdy time.Time `gorm:"column:brdy" json:"brdy" form:"brdy"`
- Age float64 `gorm:"column:age" json:"age" form:"age"`
- Insutype string `gorm:"column:insutype" json:"insutype" form:"insutype"`
- PsnType string `gorm:"column:psn_type" json:"psn_type" form:"psn_type"`
- CvlservFlag string `gorm:"column:cvlserv_flag" json:"cvlserv_flag" form:"cvlserv_flag"`
- SetlTime string `gorm:"column:setl_time" json:"setl_time" form:"setl_time"`
- MdtrtCertType string `gorm:"column:mdtrt_cert_type" json:"mdtrt_cert_type" form:"mdtrt_cert_type"`
- MedType string `gorm:"column:med_type" json:"med_type" form:"med_type"`
- MedfeeSumamt float64 `gorm:"column:medfee_sumamt" json:"medfee_sumamt" form:"medfee_sumamt"`
- FulamtOwnpayAmt float64 `gorm:"column:fulamt_ownpay_amt" json:"fulamt_ownpay_amt" form:"fulamt_ownpay_amt"`
- OverlmtSelfPay float64 `gorm:"column:overlmt_self_pay" json:"overlmt_self_pay" form:"overlmt_self_pay"`
- PreselfpayAmt float64 `gorm:"column:preselfpay_amt" json:"preselfpay_amt" form:"preselfpay_amt"`
- InscpScpAmt float64 `gorm:"column:inscp_scp_amt" json:"inscp_scp_amt" form:"inscp_scp_amt"`
- ActPayDedc float64 `gorm:"column:act_pay_dedc" json:"act_pay_dedc" form:"act_pay_dedc"`
- HifpPay float64 `gorm:"column:hifp_pay" json:"hifp_pay" form:"hifp_pay"`
- CvlservPay float64 `gorm:"column:cvlserv_pay" json:"cvlserv_pay" form:"cvlserv_pay"`
- PoolPropSelfpay float64 `gorm:"column:pool_prop_selfpay" json:"pool_prop_selfpay" form:"pool_prop_selfpay"`
- HifesPay float64 `gorm:"column:hifes_pay" json:"hifes_pay" form:"hifes_pay"`
- HifmiPay float64 `gorm:"column:hifmi_pay" json:"hifmi_pay" form:"hifmi_pay"`
- HifobPay float64 `gorm:"column:hifob_pay" json:"hifob_pay" form:"hifob_pay"`
- MafPay float64 `gorm:"column:maf_pay" json:"maf_pay" form:"maf_pay"`
- OthPay float64 `gorm:"column:oth_pay" json:"oth_pay" form:"oth_pay"`
- FundPaySumamt float64 `gorm:"column:fund_pay_sumamt" json:"fund_pay_sumamt" form:"fund_pay_sumamt"`
- PsnPartAmt float64 `gorm:"column:psn_part_amt" json:"psn_part_amt" form:"psn_part_amt"`
- AcctPay float64 `gorm:"column:acct_pay" json:"acct_pay" form:"acct_pay"`
- PsnCashPay float64 `gorm:"column:psn_cash_pay" json:"psn_cash_pay" form:"psn_cash_pay"`
- HospPartAmt float64 `gorm:"column:hosp_part_amt" json:"hosp_part_amt" form:"hosp_part_amt"`
- Balc float64 `gorm:"column:balc" json:"balc" form:"balc"`
- AcctMulaidPay float64 `gorm:"column:acct_mulaid_pay" json:"acct_mulaid_pay" form:"acct_mulaid_pay"`
- MedinsSetlId string `gorm:"column:medins_setl_id" json:"medins_setl_id" form:"medins_setl_id"`
- ClrOptins string `gorm:"column:clr_optins" json:"clr_optins" form:"clr_optins"`
- ClrWay string `gorm:"column:clr_way" json:"clr_way" form:"clr_way"`
- ClrType string `gorm:"column:clr_type" json:"clr_type" form:"clr_type"`
- SetlDetail string `gorm:"column:setl_detail" json:"setl_detail" form:"setl_detail"`
- IsMedicineInsurance int64 `gorm:"column:is_medicine_insurance" json:"is_medicine_insurance" form:"is_medicine_insurance"`
- PayWay int64 `gorm:"column:pay_way" json:"pay_way" form:"pay_way"`
-
- PayPrice float64 `gorm:"column:pay_price" json:"pay_price" form:"pay_price"`
- PayCardNo string `gorm:"column:pay_card_no" json:"pay_card_no" form:"pay_card_no"`
- DiscountPrice float64 `gorm:"column:discount_price" json:"discount_price" form:"discount_price"`
- PreferentialPrice float64 `gorm:"column:preferential_price" json:"preferential_price" form:"preferential_price"`
- RealityPrice float64 `gorm:"column:reality_price" json:"reality_price" form:"reality_price"`
- FoundPrice float64 `gorm:"column:found_price" json:"found_price" form:"found_price"`
- MedicalInsurancePrice float64 `gorm:"column:medical_insurance_price" json:"medical_insurance_price" form:"medical_insurance_price"`
- PrivatePrice float64 `gorm:"column:private_price" json:"private_price" form:"private_price"`
- DepartmentName string `gorm:"-" json:"department_name" form:"department_name"`
- DoctorName string `gorm:"-" json:"doctor_name" form:"doctor_name"`
- Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
- PType int64 `gorm:"column:p_type" json:"p_type" form:"p_type"`
- Decimal float64 `gorm:"column:decimal" json:"decimal" form:"decimal"`
- OthDesc string `gorm:"oth_desc" json:"oth_desc" form:"oth_desc"`
- PayWays string `gorm:"pay_ways" json:"pay_ways" form:"pay_ways"`
-
- CashPay string `gorm:"cash_pay" json:"cash_pay" form:"cash_pay"`
- BandCardPay string `gorm:"band_card_pay" json:"band_card_pay" form:"band_card_pay"`
- WechatPay string `gorm:"wechat_pay" json:"wechat_pay" form:"wechat_pay"`
- AliPay string `gorm:"ali_pay" json:"ali_pay" form:"ali_pay"`
- JifenPay string `gorm:"jifen_pay" json:"jifen_pay" form:"jifen_pay"`
-
- FaPiaoCode string `gorm:"column:fa_piao_code" json:"fa_piao_code" form:"fa_piao_code"`
- FaPiaoNumber string `gorm:"column:fa_piao_number" json:"fa_piao_number" form:"fa_piao_number"`
-
- AdminUser AdminUser `gorm:"ForeignKey:ID;AssociationForeignKey:OrderId" json:"order_info"`
-
- SettleType int64 `gorm:"column:settle_type" json:"settle_type" form:"settle_type"`
- SettleStartTime int64 `gorm:"column:settle_start_time" json:"settle_start_time" form:"settle_start_time"`
- SettleEndTime int64 `gorm:"column:settle_end_time" json:"settle_end_time" form:"settle_end_time"`
-
- HisOrderInfo HisOrderInfo `gorm:"ForeignKey:ID;AssociationForeignKey:OrderId" json:"order_info"`
- Patients Patients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"patient"`
- HisPatient HisPatient `gorm:"ForeignKey:MdtrtId;AssociationForeignKey:Number" json:"his_patient"`
- HisHospitalCheckRecord HisHospitalCheckRecord `gorm:"ForeignKey:MdtrtId;AssociationForeignKey:Number" json:"his_hospital_patient"`
- HisPrescriptionInfo HisPrescriptionInfo `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"p_info"`
-
- HisFundSettleListResult HisFundSettleListResult `gorm:"ForeignKey:ID;AssociationForeignKey:OrderId" json:"result"`
- IsPre int64 `gorm:"column:is_pre" json:"is_pre" form:"is_pre"`
- Diagnosis string `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
- FaPiaoBatchnumberId int64 `gorm:"column:fa_piao_batchnumber_id" json:"fa_piao_batchnumber_id" form:"fa_piao_batchnumber_id"`
- IsUploadDiagnose int64 `gorm:"column:is_upload_diagnose" json:"is_upload_diagnose" form:"is_upload_diagnose"`
- IsUploadOrderInfo int64 `gorm:"column:is_upload_order_info" json:"is_upload_order_info" form:"is_upload_order_info"`
- IsUploadSuccess int64 `gorm:"column:is_upload_success" json:"is_upload_success" form:"is_upload_success"`
- }
-
- func (HisOrder) TableName() string {
- return "his_order"
- }
-
- type HisOrderInfo struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- OrderNumber string `gorm:"column:order_number" json:"order_number" form:"order_number"`
- UploadDate int64 `gorm:"column:upload_date" json:"upload_date" form:"upload_date"`
- AdviceId int64 `gorm:"column:advice_id" json:"advice_id" form:"advice_id"`
- DetItemFeeSumamt float64 `gorm:"column:det_item_fee_sumamt" json:"det_item_fee_sumamt" form:"det_item_fee_sumamt"`
- Cnt float64 `gorm:"column:cnt" json:"cnt" form:"cnt"`
- Pric float64 `gorm:"column:pric" json:"pric" form:"pric"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- PricUplmtAmt float64 `gorm:"column:pric_uplmt_amt" json:"pric_uplmt_amt" form:"pric_uplmt_amt"`
- SelfpayProp float64 `gorm:"column:selfpay_prop" json:"selfpay_prop" form:"selfpay_prop"`
- FulamtOwnpayAmt float64 `gorm:"column:fulamt_ownpay_amt" json:"fulamt_ownpay_amt" form:"fulamt_ownpay_amt"`
- OverlmtAmt float64 `gorm:"column:overlmt_amt" json:"overlmt_amt" form:"overlmt_amt"`
- PreselfpayAmt float64 `gorm:"column:preselfpay_amt" json:"preselfpay_amt" form:"preselfpay_amt"`
- BasMednFlag string `gorm:"column:bas_medn_flag" json:"bas_medn_flag" form:"bas_medn_flag"`
- MedChrgitmType string `gorm:"column:med_chrgitm_type" json:"med_chrgitm_type" form:"med_chrgitm_type"`
- HiNegoDrugFlag string `gorm:"column:hi_nego_drug_flag" json:"hi_nego_drug_flag" form:"hi_nego_drug_flag"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Memo string `gorm:"column:memo" json:"memo" form:"memo"`
- FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- InscpScpAmt float64 `gorm:"column:inscp_scp_amt" json:"inscp_scp_amt" form:"inscp_scp_amt"`
- DrtReimFlag string `gorm:"column:drt_reim_flag" json:"drt_reim_flag" form:"drt_reim_flag"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- ListSpItemFlag string `gorm:"column:list_sp_item_flag" json:"list_sp_item_flag" form:"list_sp_item_flag"`
- ChldMedcFlag string `gorm:"column:chld_medc_flag" json:"chld_medc_flag" form:"chld_medc_flag"`
- LmtUsedFlag string `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
- ChrgitmLv string `gorm:"column:chrgitm_lv" json:"chrgitm_lv" form:"chrgitm_lv"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- OrderId int64 `gorm:"column:order_id" json:"order_id" form:"order_id"`
- ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
- Type int64 `gorm:"column:type" json:"type" form:"type"`
- ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
- SettleType int64 `gorm:"column:settle_type" json:"settle_type" form:"settle_type"`
-
- //HisPrescriptionProject HisPrescriptionProject `gorm:"ForeignKey:ID;AssociationForeignKey:ProjectId" json:"project"`
- //HisDoctorAdviceInfo HisDoctorAdviceInfo `gorm:"ForeignKey:ID;AssociationForeignKey:AdviceId" json:"advice"`
- }
-
- func (HisOrderInfo) TableName() string {
- return "his_order_info"
- }
-
- type HisOrderInfoTwo struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- OrderNumber string `gorm:"column:order_number" json:"order_number" form:"order_number"`
- UploadDate int64 `gorm:"column:upload_date" json:"upload_date" form:"upload_date"`
- AdviceId int64 `gorm:"column:advice_id" json:"advice_id" form:"advice_id"`
- DetItemFeeSumamt float64 `gorm:"column:det_item_fee_sumamt" json:"det_item_fee_sumamt" form:"det_item_fee_sumamt"`
- Cnt float64 `gorm:"column:cnt" json:"cnt" form:"cnt"`
- Pric float64 `gorm:"column:pric" json:"pric" form:"pric"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- PricUplmtAmt float64 `gorm:"column:pric_uplmt_amt" json:"pric_uplmt_amt" form:"pric_uplmt_amt"`
- SelfpayProp float64 `gorm:"column:selfpay_prop" json:"selfpay_prop" form:"selfpay_prop"`
- FulamtOwnpayAmt float64 `gorm:"column:fulamt_ownpay_amt" json:"fulamt_ownpay_amt" form:"fulamt_ownpay_amt"`
- OverlmtAmt float64 `gorm:"column:overlmt_amt" json:"overlmt_amt" form:"overlmt_amt"`
- PreselfpayAmt float64 `gorm:"column:preselfpay_amt" json:"preselfpay_amt" form:"preselfpay_amt"`
- BasMednFlag string `gorm:"column:bas_medn_flag" json:"bas_medn_flag" form:"bas_medn_flag"`
- MedChrgitmType string `gorm:"column:med_chrgitm_type" json:"med_chrgitm_type" form:"med_chrgitm_type"`
- HiNegoDrugFlag string `gorm:"column:hi_nego_drug_flag" json:"hi_nego_drug_flag" form:"hi_nego_drug_flag"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Memo string `gorm:"column:memo" json:"memo" form:"memo"`
- FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- InscpScpAmt float64 `gorm:"column:inscp_scp_amt" json:"inscp_scp_amt" form:"inscp_scp_amt"`
- DrtReimFlag string `gorm:"column:drt_reim_flag" json:"drt_reim_flag" form:"drt_reim_flag"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- ListSpItemFlag string `gorm:"column:list_sp_item_flag" json:"list_sp_item_flag" form:"list_sp_item_flag"`
- ChldMedcFlag string `gorm:"column:chld_medc_flag" json:"chld_medc_flag" form:"chld_medc_flag"`
- LmtUsedFlag string `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
- ChrgitmLv string `gorm:"column:chrgitm_lv" json:"chrgitm_lv" form:"chrgitm_lv"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- OrderId int64 `gorm:"column:order_id" json:"order_id" form:"order_id"`
- ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
- Type int64 `gorm:"column:type" json:"type" form:"type"`
- ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
-
- HisPrescriptionProject HisPrescriptionProject `gorm:"ForeignKey:ID;AssociationForeignKey:ProjectId" json:"project"`
- HisDoctorAdviceInfo HisDoctorAdviceInfo `gorm:"ForeignKey:ID;AssociationForeignKey:AdviceId" json:"advice"`
- }
-
- func (HisOrderInfoTwo) TableName() string {
- return "his_order_info"
- }
-
- type VMHisPatient struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- BalanceAccountsType int64 `gorm:"column:balance_accounts_type" json:"balance_accounts_type" form:"balance_accounts_type"`
- MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number" form:"medical_insurance_number"`
- Name string `gorm:"column:name" json:"name" form:"name"`
- Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
- IdType int64 `gorm:"column:id_type" json:"id_type" form:"id_type"`
- MedicalTreatmentType int64 `gorm:"column:medical_treatment_type" json:"medical_treatment_type" form:"medical_treatment_type"`
- Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- Age float64 `gorm:"column:age" json:"age" form:"age"`
- PhoneNumber string `gorm:"column:phone_number" json:"phone_number" form:"phone_number"`
- IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
- RegisterType int64 `gorm:"column:register_type" json:"register_type" form:"register_type"`
- AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
- Departments int64 `gorm:"column:departments" json:"departments" form:"departments"`
- IsNeedCostOfProduction int64 `gorm:"column:is_need_cost_of_production" json:"is_need_cost_of_production" form:"is_need_cost_of_production"`
- RegisterCost float64 `gorm:"column:register_cost" json:"register_cost" form:"register_cost"`
- TreatmentCost float64 `gorm:"column:treatment_cost" json:"treatment_cost" form:"treatment_cost"`
- CostOfProduction float64 `gorm:"column:cost_of_production" json:"cost_of_production" form:"cost_of_production"`
- Total float64 `gorm:"column:total" json:"total" form:"total"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
- IsReturn int64 `gorm:"column:is_return" json:"is_return" form:"is_return"`
- PsnNo string `gorm:"column:psn_no" json:"psn_no" form:"psn_no"`
- PsnCertType string `gorm:"column:psn_cert_type" json:"psn_cert_type" form:"psn_cert_type"`
- Certno string `gorm:"column:certno" json:"certno" form:"certno"`
- PsnName string `gorm:"column:psn_name" json:"psn_name" form:"psn_name"`
- Gend string `gorm:"column:gend" json:"gend" form:"gend"`
- Naty string `gorm:"column:naty" json:"naty" form:"naty"`
- Brdy string `gorm:"column:brdy" json:"brdy" form:"brdy"`
- Iinfo string `gorm:"column:iinfo" json:"iinfo" form:"iinfo"`
- Idetinfo string `gorm:"column:idetinfo" json:"idetinfo" form:"idetinfo"`
- IptOtpNo string `gorm:"column:ipt_otp_no" json:"ipt_otp_no" form:"ipt_otp_no"`
- PType string `gorm:"column:p_type" json:"p_type" form:"p_type"`
- Diagnosis string `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
- SickType int64 `gorm:"column:sick_type" json:"sick_type" form:"sick_type"`
- PatientInfo string `gorm:"column:patient_info" json:"patient_info" form:"patient_info"`
- }
-
- func (VMHisPatient) TableName() string {
- return "his_patient"
- }
-
- type MedicalInsuranceConfig struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- IsOpen int64 `gorm:"column:is_open" json:"is_open" form:"is_open"`
- }
-
- func (MedicalInsuranceConfig) TableName() string {
- return "medical_insurance_config"
- }
-
- type HisOrderError struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- ErrMsg string `gorm:"column:err_msg" json:"err_msg" form:"err_msg"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
- Stage int64 `gorm:"column:stage" json:"stage" form:"stage"`
- }
-
- func (HisOrderError) TableName() string {
- return "his_order_error"
- }
-
- type MedicalInsuranceOrgConfig struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- Code string `gorm:"column:code" json:"code" form:"code"`
- OrgName string `gorm:"column:org_name" json:"org_name" form:"org_name"`
- Vpn string `gorm:"column:vpn" json:"vpn" form:"vpn"`
- EleCardId string `gorm:"column:ele_card_id" json:"ele_card_id" form:"ele_card_id"`
- EleCardKey string `gorm:"column:ele_card_key" json:"ele_card_key" form:"ele_card_key"`
- ChannelNumber string `gorm:"column:channel_number" json:"channel_number" form:"channel_number"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- MdtrtareaAdmvs string `gorm:"column:mdtrtarea_admvs" json:"mdtrtarea_admvs" form:"mdtrtarea_admvs"`
- InsuplcAdmdvs string `gorm:"column:insuplc_admdvs" json:"insuplc_admdvs" form:"insuplc_admdvs"`
- SecretKey string `gorm:"column:secret_key" json:"secret_key" form:"secret_key"`
- AccessKey string `gorm:"column:access_key" json:"access_key" form:"access_key"`
- Cainfo string `gorm:"column:cainfo" json:"cainfo" form:"cainfo"`
- }
-
- func (MedicalInsuranceOrgConfig) TableName() string {
- return "medical_insurance_org_config"
- }
-
- type XtHisConfig struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- IsOpen int64 `gorm:"column:is_open" json:"is_open" form:"is_open"`
- }
-
- func (XtHisConfig) TableName() string {
- return "xt_his_config"
- }
-
- type XtHisProjectConfig struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- IsOpen int64 `gorm:"column:is_open" json:"is_open" form:"is_open"`
- }
-
- func (XtHisProjectConfig) TableName() string {
- return "xt_his_project_config"
- }
-
- type XtHisTemplate struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- TemplateId int64 `gorm:"column:template_id" json:"template_id" form:"template_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- }
-
- func (XtHisTemplate) TableName() string {
- return "xt_his_template"
- }
-
- type XtHisAdviceTemplate struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- TemplateId int64 `gorm:"column:template_id" json:"template_id" form:"template_id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- }
-
- func (XtHisAdviceTemplate) TableName() string {
- return "xt_his_advice_template"
- }
-
- type XtHisChargeTemplate struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- TemplateId int64 `gorm:"column:template_id" json:"template_id" form:"template_id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- }
-
- func (XtHisChargeTemplate) TableName() string {
- return "xt_his_charge_template"
- }
-
- type XtHisTreatmentTemplate struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- TemplateId int64 `gorm:"column:template_id" json:"template_id" form:"template_id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- }
-
- func (XtHisTreatmentTemplate) TableName() string {
- return "xt_his_treatment_template"
- }
-
- type XtHisAdditionalCharge struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- Price float64 `gorm:"column:price" json:"price" form:"price"`
- AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- ItemName string `gorm:"column:item_name" json:"item_name" form:"item_name"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
- Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
- Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
- BatchNumber string `gorm:"column:batch_number" json:"batch_number" form:"batch_number"`
- OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
- PrescriptionNumber string `gorm:"column:prescription_number" json:"prescription_number" form:"prescription_number"`
- FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
- PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
- Count int64 `gorm:"column:count" json:"count" form:"count"`
- }
-
- func (XtHisAdditionalCharge) TableName() string {
- return "his_additional_charge"
- }
-
- type XtHisMedicalTemplate struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- Title string `gorm:"column:title" json:"title" form:"title"`
- Content string `gorm:"column:content" json:"content" form:"content"`
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
- TemplateId int64 `gorm:"column:template_id" json:"template_id" form:"template_id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- }
-
- func (XtHisMedicalTemplate) TableName() string {
- return "xt_his_medical_template"
- }
-
- type HisXtDiagnoseConfig struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- ClassName string `gorm:"column:class_name" json:"class_name" form:"class_name"`
- Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
- Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
- ContentCode string `gorm:"column:content_code" json:"content_code" form:"content_code"`
- CountryCode string `gorm:"column:country_code" json:"country_code" form:"country_code"`
- CountryContentName string `gorm:"column:country_content_name" json:"country_content_name" form:"country_content_name"`
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
- }
-
- func (HisXtDiagnoseConfig) TableName() string {
- return "his_xt_diagnose_config"
- }
-
- type BaseParams struct {
- SecretKey string
- FixmedinsCode string
- InsuplcAdmdvs string
- MdtrtareaAdmvs string
- OrgName string
- Doctor string
- }
-
- type BusinessParams struct {
- Insutype string
- ClrType string
- SetlOptins string
- MdtrtareaAdmvs string
- StmtBegndate string
- StmtEnddate string
- MedfeeSumamt float64
- FundPaySumamt float64
- AcctPay float64
- FixmedinsSetlCnt int64
- FileQuryNo string
- CashPayamt float64
- PsnNo string
- MdtrtId string
- SetlId string
- }
-
- type HisFundSettleListResult struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- IsUpload int64 `gorm:"column:is_upload" json:"is_upload" form:"is_upload"`
- OrderId int64 `gorm:"column:order_id" json:"order_id" form:"order_id"`
- }
-
- func (HisFundSettleListResult) TableName() string {
- return "his_fund_settle_list_result"
- }
-
- type HisPrescriptionTemplate struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- Type int64 `gorm:"column:type" json:"type" form:"type"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Name string `gorm:"column:name" json:"name" form:"name"`
- Mode int64 `gorm:"column:mode" json:"mode" form:"mode"`
- }
-
- func (HisPrescriptionTemplate) TableName() string {
- return "his_prescription_template"
- }
-
- type HisPrescriptionAdviceTemplate struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- AdviceType int64 `gorm:"column:advice_type" json:"advice_type" form:"advice_type"`
- AdviceDate int64 `gorm:"column:advice_date" json:"advice_date" form:"advice_date"`
- StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
- AdviceName string `gorm:"column:advice_name" json:"advice_name" form:"advice_name"`
- AdviceDesc string `gorm:"column:advice_desc" json:"advice_desc" form:"advice_desc"`
- ReminderDate int64 `gorm:"column:reminder_date" json:"reminder_date" form:"reminder_date"`
- SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
- SingleDoseUnit string `gorm:"column:single_dose_unit" json:"single_dose_unit" form:"single_dose_unit"`
- PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
- PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
- DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
- ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
- AdviceDoctor int64 `gorm:"column:advice_doctor" json:"advice_doctor" form:"advice_doctor"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
- AdviceAffirm string `gorm:"column:advice_affirm" json:"advice_affirm" form:"advice_affirm"`
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
- StopTime int64 `gorm:"column:stop_time" json:"stop_time" form:"stop_time"`
- StopReason string `gorm:"column:stop_reason" json:"stop_reason" form:"stop_reason"`
- StopDoctor int64 `gorm:"column:stop_doctor" json:"stop_doctor" form:"stop_doctor"`
- StopState int64 `gorm:"column:stop_state" json:"stop_state" form:"stop_state"`
- ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
- ExecutionTime int64 `gorm:"column:execution_time" json:"execution_time" form:"execution_time"`
- ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
- ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
- Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
- CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
- CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
- DrugSpec float64 `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
- DrugSpecUnit string `gorm:"column:drug_spec_unit" json:"drug_spec_unit" form:"drug_spec_unit"`
- Groupno int64 `gorm:"column:groupno" json:"groupno" form:"groupno"`
- RemindType int64 `gorm:"column:remind_type" json:"remind_type" form:"remind_type"`
- FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type" form:"frequency_type"`
- DayCount int64 `gorm:"column:day_count" json:"day_count" form:"day_count"`
- WeekDay string `gorm:"column:week_day" json:"week_day" form:"week_day"`
- TemplateId string `gorm:"column:template_id" json:"template_id" form:"template_id"`
- Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
- DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
- Price float64 `gorm:"column:price" json:"price" form:"price"`
- PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
- MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
- FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
- Day int64 `gorm:"column:day" json:"day" form:"day"`
- Diagnosis int64 `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
- HospApprFlag int64 `gorm:"column:hosp_appr_flag" json:"hosp_appr_flag" form:"hosp_appr_flag"`
- LmtUsedFlag int64 `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
- Drug Drug `gorm:"ForeignKey:ID;AssociationForeignKey:DrugId" json:"drug"`
- }
-
- func (HisPrescriptionAdviceTemplate) TableName() string {
- return "his_prescription_advice_template"
- }
-
- type HisPrescriptionProjectTemplate struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
- Price float64 `gorm:"column:price" json:"price" form:"price"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- Count string `gorm:"column:count" json:"count" form:"count"`
- FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
- MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
- SingleDose string `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
- DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
- ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
- Day string `gorm:"column:day" json:"day" form:"day"`
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
- Unit string `gorm:"column:unit" json:"unit" form:"unit"`
- Type int64 `gorm:"column:type" json:"type" form:"type"`
- PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
- XtHisProject XtHisProject `gorm:"ForeignKey:ID;AssociationForeignKey:ProjectId" json:"project"`
- GoodInfo GoodInfo `gorm:"ForeignKey:ID;AssociationForeignKey:ProjectId" json:"good_info"`
- FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type" form:"frequency_type"`
- DayCount int64 `gorm:"column:day_count" json:"day_count" form:"day_count"`
- WeekDay string `gorm:"column:week_day" json:"week_day" form:"week_day"`
- }
-
- func (HisPrescriptionProjectTemplate) TableName() string {
- return "his_prescription_project_template"
- }
-
- type HisPrescriptionInfoTemplate struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Type int64 `gorm:"column:type" json:"type" form:"type"`
- Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
- Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
- PType int64 `gorm:"column:p_type" json:"p_type" form:"p_type"`
- PTemplateId int64 `gorm:"column:p_template_id" json:"p_template_id" form:"p_template_id"`
- HisPrescriptionAdviceTemplate []*HisPrescriptionAdviceTemplate `gorm:"ForeignKey:PrescriptionId;AssociationForeignKey:ID" json:"advices"`
- HisPrescriptionProjectTemplate []*HisPrescriptionProjectTemplate `gorm:"ForeignKey:PrescriptionId;AssociationForeignKey:ID" json:"project"`
- MedType string `gorm:"column:med_type" json:"med_type" form:"med_type"`
- }
-
- func (HisPrescriptionInfoTemplate) TableName() string {
- return "his_prescription_info_template"
- }
-
- type VMHisOrderInfo struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- OrderNumber string `gorm:"column:order_number" json:"order_number" form:"order_number"`
- UploadDate int64 `gorm:"column:upload_date" json:"upload_date" form:"upload_date"`
- AdviceId int64 `gorm:"column:advice_id" json:"advice_id" form:"advice_id"`
- DetItemFeeSumamt float64 `gorm:"column:det_item_fee_sumamt" json:"det_item_fee_sumamt" form:"det_item_fee_sumamt"`
- Cnt float64 `gorm:"column:cnt" json:"cnt" form:"cnt"`
- Pric float64 `gorm:"column:pric" json:"pric" form:"pric"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- MedChrgitmType string `gorm:"column:med_chrgitm_type" json:"med_chrgitm_type" form:"med_chrgitm_type"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
- ChldMedcFlag string `gorm:"column:chld_medc_flag" json:"chld_medc_flag" form:"chld_medc_flag"`
- ChrgitmLv string `gorm:"column:chrgitm_lv" json:"chrgitm_lv" form:"chrgitm_lv"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
- ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
- FulamtOwnpayAmt float64 `gorm:"column:fulamt_ownpay_amt" json:"fulamt_ownpay_amt" form:"fulamt_ownpay_amt"`
-
- HisPrescriptionProject HisPrescriptionProject `gorm:"ForeignKey:ID;AssociationForeignKey:ProjectId" json:"project"`
- HisDoctorAdviceInfo HisDoctorAdviceInfo `gorm:"ForeignKey:ID;AssociationForeignKey:AdviceId" json:"advice"`
- }
-
- func (VMHisOrderInfo) TableName() string {
- return "his_order_info"
- }
-
- type NewHisOrder struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- SettleAccountsDate int64 `gorm:"column:settle_accounts_date" json:"settle_accounts_date" form:"settle_accounts_date"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- MdtrtId string `gorm:"column:mdtrt_id" json:"mdtrt_id" form:"mdtrt_id"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- VMHisOrderInfo []*VMHisOrderInfo `gorm:"ForeignKey:Number;AssociationForeignKey:OrderNumber" json:"order_info"`
- HisPatient HisPatient `gorm:"ForeignKey:MdtrtId;AssociationForeignKey:Number" json:"his_patient"`
- IsUploadDiagnose int64 `gorm:"column:is_upload_diagnose" json:"is_upload_diagnose" form:"is_upload_diagnose"`
- IsUploadOrderInfo int64 `gorm:"column:is_upload_order_info" json:"is_upload_order_info" form:"is_upload_order_info"`
- IsUploadSuccess int64 `gorm:"column:is_upload_success" json:"is_upload_success" form:"is_upload_success"`
- }
-
- func (NewHisOrder) TableName() string {
- return "his_order"
- }
-
- type VMHisOrderTwo struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- SettleAccountsDate int64 `gorm:"column:settle_accounts_date" json:"settle_accounts_date" form:"settle_accounts_date"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- Infcode int64 `gorm:"column:infcode" json:"infcode" form:"infcode"`
- WarnMsg string `gorm:"column:warn_msg" json:"warn_msg" form:"warn_msg"`
- Cainfo string `gorm:"column:cainfo" json:"cainfo" form:"cainfo"`
- ErrMsg string `gorm:"column:err_msg" json:"err_msg" form:"err_msg"`
- RespondTime string `gorm:"column:respond_time" json:"respond_time" form:"respond_time"`
- InfRefmsgid string `gorm:"column:inf_refmsgid" json:"inf_refmsgid" form:"inf_refmsgid"`
- OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
- MdtrtId string `gorm:"column:mdtrt_id" json:"mdtrt_id" form:"mdtrt_id"`
- SetlId string `gorm:"column:setl_id" json:"setl_id" form:"setl_id"`
- PsnNo string `gorm:"column:psn_no" json:"psn_no" form:"psn_no"`
- PsnName string `gorm:"column:psn_name" json:"psn_name" form:"psn_name"`
- PsnCertType string `gorm:"column:psn_cert_type" json:"psn_cert_type" form:"psn_cert_type"`
- Certno string `gorm:"column:certno" json:"certno" form:"certno"`
- Gend string `gorm:"column:gend" json:"gend" form:"gend"`
- Naty string `gorm:"column:naty" json:"naty" form:"naty"`
- Brdy time.Time `gorm:"column:brdy" json:"brdy" form:"brdy"`
- Age float64 `gorm:"column:age" json:"age" form:"age"`
- Insutype string `gorm:"column:insutype" json:"insutype" form:"insutype"`
- PsnType string `gorm:"column:psn_type" json:"psn_type" form:"psn_type"`
- CvlservFlag string `gorm:"column:cvlserv_flag" json:"cvlserv_flag" form:"cvlserv_flag"`
- SetlTime string `gorm:"column:setl_time" json:"setl_time" form:"setl_time"`
- MdtrtCertType string `gorm:"column:mdtrt_cert_type" json:"mdtrt_cert_type" form:"mdtrt_cert_type"`
- MedType string `gorm:"column:med_type" json:"med_type" form:"med_type"`
- MedfeeSumamt float64 `gorm:"column:medfee_sumamt" json:"medfee_sumamt" form:"medfee_sumamt"`
- FulamtOwnpayAmt float64 `gorm:"column:fulamt_ownpay_amt" json:"fulamt_ownpay_amt" form:"fulamt_ownpay_amt"`
- OverlmtSelfPay float64 `gorm:"column:overlmt_self_pay" json:"overlmt_self_pay" form:"overlmt_self_pay"`
- PreselfpayAmt float64 `gorm:"column:preselfpay_amt" json:"preselfpay_amt" form:"preselfpay_amt"`
- InscpScpAmt float64 `gorm:"column:inscp_scp_amt" json:"inscp_scp_amt" form:"inscp_scp_amt"`
- ActPayDedc float64 `gorm:"column:act_pay_dedc" json:"act_pay_dedc" form:"act_pay_dedc"`
- HifpPay float64 `gorm:"column:hifp_pay" json:"hifp_pay" form:"hifp_pay"`
- CvlservPay float64 `gorm:"column:cvlserv_pay" json:"cvlserv_pay" form:"cvlserv_pay"`
- PoolPropSelfpay float64 `gorm:"column:pool_prop_selfpay" json:"pool_prop_selfpay" form:"pool_prop_selfpay"`
- HifesPay float64 `gorm:"column:hifes_pay" json:"hifes_pay" form:"hifes_pay"`
- HifmiPay float64 `gorm:"column:hifmi_pay" json:"hifmi_pay" form:"hifmi_pay"`
- HifobPay float64 `gorm:"column:hifob_pay" json:"hifob_pay" form:"hifob_pay"`
- MafPay float64 `gorm:"column:maf_pay" json:"maf_pay" form:"maf_pay"`
- OthPay float64 `gorm:"column:oth_pay" json:"oth_pay" form:"oth_pay"`
- FundPaySumamt float64 `gorm:"column:fund_pay_sumamt" json:"fund_pay_sumamt" form:"fund_pay_sumamt"`
- PsnPartAmt float64 `gorm:"column:psn_part_amt" json:"psn_part_amt" form:"psn_part_amt"`
- AcctPay float64 `gorm:"column:acct_pay" json:"acct_pay" form:"acct_pay"`
- PsnCashPay float64 `gorm:"column:psn_cash_pay" json:"psn_cash_pay" form:"psn_cash_pay"`
- HospPartAmt float64 `gorm:"column:hosp_part_amt" json:"hosp_part_amt" form:"hosp_part_amt"`
- Balc float64 `gorm:"column:balc" json:"balc" form:"balc"`
- AcctMulaidPay float64 `gorm:"column:acct_mulaid_pay" json:"acct_mulaid_pay" form:"acct_mulaid_pay"`
- MedinsSetlId string `gorm:"column:medins_setl_id" json:"medins_setl_id" form:"medins_setl_id"`
- ClrOptins string `gorm:"column:clr_optins" json:"clr_optins" form:"clr_optins"`
- ClrWay string `gorm:"column:clr_way" json:"clr_way" form:"clr_way"`
- ClrType string `gorm:"column:clr_type" json:"clr_type" form:"clr_type"`
- SetlDetail string `gorm:"column:setl_detail" json:"setl_detail" form:"setl_detail"`
- IsMedicineInsurance int64 `gorm:"column:is_medicine_insurance" json:"is_medicine_insurance" form:"is_medicine_insurance"`
- PayWay int64 `gorm:"column:pay_way" json:"pay_way" form:"pay_way"`
- OthDesc string `gorm:"oth_desc" json:"oth_desc" form:"oth_desc"`
- PayWays string `gorm:"pay_ways" json:"pay_ways" form:"pay_ways"`
-
- PayPrice float64 `gorm:"column:pay_price" json:"pay_price" form:"pay_price"`
- PayCardNo string `gorm:"column:pay_card_no" json:"pay_card_no" form:"pay_card_no"`
- DiscountPrice float64 `gorm:"column:discount_price" json:"discount_price" form:"discount_price"`
- PreferentialPrice float64 `gorm:"column:preferential_price" json:"preferential_price" form:"preferential_price"`
- RealityPrice float64 `gorm:"column:reality_price" json:"reality_price" form:"reality_price"`
- FoundPrice float64 `gorm:"column:found_price" json:"found_price" form:"found_price"`
- MedicalInsurancePrice float64 `gorm:"column:medical_insurance_price" json:"medical_insurance_price" form:"medical_insurance_price"`
- PrivatePrice float64 `gorm:"column:private_price" json:"private_price" form:"private_price"`
- DepartmentName string `gorm:"-" json:"department_name" form:"department_name"`
- DoctorName string `gorm:"-" json:"doctor_name" form:"doctor_name"`
- Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
- PType int64 `gorm:"column:p_type" json:"p_type" form:"p_type"`
-
- FaPiaoCode string `gorm:"column:fa_piao_code" json:"fa_piao_code" form:"fa_piao_code"`
- FaPiaoNumber string `gorm:"column:fa_piao_number" json:"fa_piao_number" form:"fa_piao_number"`
-
- AdminUser AdminUser `gorm:"ForeignKey:ID;AssociationForeignKey:OrderId" json:"order_info"`
-
- SettleType int64 `gorm:"column:settle_type" json:"settle_type" form:"settle_type"`
- SettleStartTime int64 `gorm:"column:settle_start_time" json:"settle_start_time" form:"settle_start_time"`
- SettleEndTime int64 `gorm:"column:settle_end_time" json:"settle_end_time" form:"settle_end_time"`
-
- HisOrderInfo HisOrderInfo `gorm:"ForeignKey:ID;AssociationForeignKey:OrderId" json:"order_info"`
- Patients Patients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"patient"`
- HisPatient HisPatient `gorm:"ForeignKey:MdtrtId;AssociationForeignKey:Number" json:"his_patient"`
- HisHospitalCheckRecord HisHospitalCheckRecord `gorm:"ForeignKey:MdtrtId,PatientId;AssociationForeignKey:Number,PatientId" json:"his_hospital_patient"`
-
- HisPrescriptionInfo HisPrescriptionInfo `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"p_info"`
- IsUploadDiagnose int64 `gorm:"column:is_upload_diagnose" json:"is_upload_diagnose" form:"is_upload_diagnose"`
- IsUploadOrderInfo int64 `gorm:"column:is_upload_order_info" json:"is_upload_order_info" form:"is_upload_order_info"`
- IsUploadSuccess int64 `gorm:"column:is_upload_success" json:"is_upload_success" form:"is_upload_success"`
-
- HisFundSettleListResult HisFundSettleListResult `gorm:"ForeignKey:ID;AssociationForeignKey:OrderId" json:"result"`
- IsPre int64 `gorm:"column:is_pre" json:"is_pre" form:"is_pre"`
- Diagnosis string `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
- }
-
- func (VMHisOrderTwo) TableName() string {
- return "his_order"
- }
-
- type HisStockPriceConfig struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- IsOpen int64 `gorm:"column:is_open" json:"is_open" form:"is_open"`
- }
-
- func (HisStockPriceConfig) TableName() string {
- return "his_stock_price_config"
- }
-
- type SgjAdmin struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- Account string `gorm:"column:account" json:"account" form:"account"`
- Pwd string `gorm:"column:pwd" json:"pwd" form:"pwd"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- IsSuperAdmin int64 `gorm:"column:is_super_admin" json:"is_super_admin" form:"is_super_admin"`
- Name string `gorm:"column:name" json:"name" form:"name"`
- Phone string `gorm:"column:phone" json:"phone" form:"phone"`
- Camera string `gorm:"column:camera" json:"camera" form:"camera"`
- Wechat string `gorm:"column:wechat" json:"wechat" form:"wechat"`
- Qqchat string `gorm:"column:qqchat" json:"qqchat" form:"qqchat"`
- Email string `gorm:"column:email" json:"email" form:"email"`
- WechatLink string `gorm:"column:wechat_link" json:"wechat_link" form:"wechat_link"`
- }
-
- func (SgjAdmin) TableName() string {
- return "sgj_admin"
- }
-
- type SgjOrgFollowOne struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
- AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- }
-
- func (SgjOrgFollowOne) TableName() string {
- return "sgj_org_follow"
- }
-
- type SgjOrgFollow struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
- AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Name string `gorm:"column:name" json:"name" form:"name"`
- Phone string `gorm:"column:phone" json:"phone" form:"phone"`
- Camera string `gorm:"column:camera" json:"camera" form:"camera"`
- Wechat string `gorm:"column:wechat" json:"wechat" form:"wechat"`
- Qqchat string `gorm:"column:qqchat" json:"qqchat" form:"qqchat"`
- Email string `gorm:"column:email" json:"email" form:"email"`
- WechatLink string `gorm:"column:wechat_link" json:"wechat_link" form:"wechat_link"`
- }
-
- type NewCustomHisOrder struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- SettleAccountsDate int64 `gorm:"column:settle_accounts_date" json:"settle_accounts_date" form:"settle_accounts_date"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- Infcode int64 `gorm:"column:infcode" json:"infcode" form:"infcode"`
- WarnMsg string `gorm:"column:warn_msg" json:"warn_msg" form:"warn_msg"`
- Cainfo string `gorm:"column:cainfo" json:"cainfo" form:"cainfo"`
- ErrMsg string `gorm:"column:err_msg" json:"err_msg" form:"err_msg"`
- RespondTime string `gorm:"column:respond_time" json:"respond_time" form:"respond_time"`
- InfRefmsgid string `gorm:"column:inf_refmsgid" json:"inf_refmsgid" form:"inf_refmsgid"`
- OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
- MdtrtId string `gorm:"column:mdtrt_id" json:"mdtrt_id" form:"mdtrt_id"`
- SetlId string `gorm:"column:setl_id" json:"setl_id" form:"setl_id"`
- PsnNo string `gorm:"column:psn_no" json:"psn_no" form:"psn_no"`
- PsnName string `gorm:"column:psn_name" json:"psn_name" form:"psn_name"`
- PsnCertType string `gorm:"column:psn_cert_type" json:"psn_cert_type" form:"psn_cert_type"`
- Certno string `gorm:"column:certno" json:"certno" form:"certno"`
- Gend string `gorm:"column:gend" json:"gend" form:"gend"`
- Naty string `gorm:"column:naty" json:"naty" form:"naty"`
- Brdy time.Time `gorm:"column:brdy" json:"brdy" form:"brdy"`
- Age float64 `gorm:"column:age" json:"age" form:"age"`
- Insutype string `gorm:"column:insutype" json:"insutype" form:"insutype"`
- PsnType string `gorm:"column:psn_type" json:"psn_type" form:"psn_type"`
- CvlservFlag string `gorm:"column:cvlserv_flag" json:"cvlserv_flag" form:"cvlserv_flag"`
- SetlTime string `gorm:"column:setl_time" json:"setl_time" form:"setl_time"`
- MdtrtCertType string `gorm:"column:mdtrt_cert_type" json:"mdtrt_cert_type" form:"mdtrt_cert_type"`
- MedType string `gorm:"column:med_type" json:"med_type" form:"med_type"`
- MedfeeSumamt float64 `gorm:"column:medfee_sumamt" json:"medfee_sumamt" form:"medfee_sumamt"`
- FulamtOwnpayAmt float64 `gorm:"column:fulamt_ownpay_amt" json:"fulamt_ownpay_amt" form:"fulamt_ownpay_amt"`
- OverlmtSelfPay float64 `gorm:"column:overlmt_self_pay" json:"overlmt_self_pay" form:"overlmt_self_pay"`
- PreselfpayAmt float64 `gorm:"column:preselfpay_amt" json:"preselfpay_amt" form:"preselfpay_amt"`
- InscpScpAmt float64 `gorm:"column:inscp_scp_amt" json:"inscp_scp_amt" form:"inscp_scp_amt"`
- ActPayDedc float64 `gorm:"column:act_pay_dedc" json:"act_pay_dedc" form:"act_pay_dedc"`
- HifpPay float64 `gorm:"column:hifp_pay" json:"hifp_pay" form:"hifp_pay"`
- CvlservPay float64 `gorm:"column:cvlserv_pay" json:"cvlserv_pay" form:"cvlserv_pay"`
- PoolPropSelfpay float64 `gorm:"column:pool_prop_selfpay" json:"pool_prop_selfpay" form:"pool_prop_selfpay"`
- HifesPay float64 `gorm:"column:hifes_pay" json:"hifes_pay" form:"hifes_pay"`
- HifmiPay float64 `gorm:"column:hifmi_pay" json:"hifmi_pay" form:"hifmi_pay"`
- HifobPay float64 `gorm:"column:hifob_pay" json:"hifob_pay" form:"hifob_pay"`
- MafPay float64 `gorm:"column:maf_pay" json:"maf_pay" form:"maf_pay"`
- OthPay float64 `gorm:"column:oth_pay" json:"oth_pay" form:"oth_pay"`
- FundPaySumamt float64 `gorm:"column:fund_pay_sumamt" json:"fund_pay_sumamt" form:"fund_pay_sumamt"`
- PsnPartAmt float64 `gorm:"column:psn_part_amt" json:"psn_part_amt" form:"psn_part_amt"`
- AcctPay float64 `gorm:"column:acct_pay" json:"acct_pay" form:"acct_pay"`
- PsnCashPay float64 `gorm:"column:psn_cash_pay" json:"psn_cash_pay" form:"psn_cash_pay"`
- HospPartAmt float64 `gorm:"column:hosp_part_amt" json:"hosp_part_amt" form:"hosp_part_amt"`
- Balc float64 `gorm:"column:balc" json:"balc" form:"balc"`
- AcctMulaidPay float64 `gorm:"column:acct_mulaid_pay" json:"acct_mulaid_pay" form:"acct_mulaid_pay"`
- MedinsSetlId string `gorm:"column:medins_setl_id" json:"medins_setl_id" form:"medins_setl_id"`
- ClrOptins string `gorm:"column:clr_optins" json:"clr_optins" form:"clr_optins"`
- ClrWay string `gorm:"column:clr_way" json:"clr_way" form:"clr_way"`
- ClrType string `gorm:"column:clr_type" json:"clr_type" form:"clr_type"`
- SetlDetail string `gorm:"column:setl_detail" json:"setl_detail" form:"setl_detail"`
- IsMedicineInsurance int64 `gorm:"column:is_medicine_insurance" json:"is_medicine_insurance" form:"is_medicine_insurance"`
- PayWay int64 `gorm:"column:pay_way" json:"pay_way" form:"pay_way"`
- PayPrice float64 `gorm:"column:pay_price" json:"pay_price" form:"pay_price"`
- PayCardNo string `gorm:"column:pay_card_no" json:"pay_card_no" form:"pay_card_no"`
- DiscountPrice float64 `gorm:"column:discount_price" json:"discount_price" form:"discount_price"`
- PreferentialPrice float64 `gorm:"column:preferential_price" json:"preferential_price" form:"preferential_price"`
- RealityPrice float64 `gorm:"column:reality_price" json:"reality_price" form:"reality_price"`
- FoundPrice float64 `gorm:"column:found_price" json:"found_price" form:"found_price"`
- MedicalInsurancePrice float64 `gorm:"column:medical_insurance_price" json:"medical_insurance_price" form:"medical_insurance_price"`
- PrivatePrice float64 `gorm:"column:private_price" json:"private_price" form:"private_price"`
- DepartmentName string `gorm:"-" json:"department_name" form:"department_name"`
- DoctorName string `gorm:"-" json:"doctor_name" form:"doctor_name"`
- Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
- PType int64 `gorm:"column:p_type" json:"p_type" form:"p_type"`
- IsUploadDiagnose int64 `gorm:"column:is_upload_diagnose" json:"is_upload_diagnose" form:"is_upload_diagnose"`
- IsUploadOrderInfo int64 `gorm:"column:is_upload_order_info" json:"is_upload_order_info" form:"is_upload_order_info"`
- IsUploadSuccess int64 `gorm:"column:is_upload_success" json:"is_upload_success" form:"is_upload_success"`
- OthDesc string `gorm:"oth_desc" json:"oth_desc" form:"oth_desc"`
- PayWays string `gorm:"pay_ways" json:"pay_ways" form:"pay_ways"`
-
- FaPiaoCode string `gorm:"column:fa_piao_code" json:"fa_piao_code" form:"fa_piao_code"`
- FaPiaoNumber string `gorm:"column:fa_piao_number" json:"fa_piao_number" form:"fa_piao_number"`
-
- SettleType int64 `gorm:"column:settle_type" json:"settle_type" form:"settle_type"`
- SettleStartTime int64 `gorm:"column:settle_start_time" json:"settle_start_time" form:"settle_start_time"`
- SettleEndTime int64 `gorm:"column:settle_end_time" json:"settle_end_time" form:"settle_end_time"`
- NewCustomHisOrderInfo NewCustomHisOrderInfo `gorm:"ForeignKey:Number;AssociationForeignKey:OrderNumber" json:"order_info"`
- Patients Patients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"patient"`
- }
-
- func (NewCustomHisOrder) TableName() string {
- return "his_order"
- }
-
- type NewCustomHisOrderInfo struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- OrderNumber string `gorm:"column:order_number" json:"order_number" form:"order_number"`
- UploadDate int64 `gorm:"column:upload_date" json:"upload_date" form:"upload_date"`
- AdviceId int64 `gorm:"column:advice_id" json:"advice_id" form:"advice_id"`
- DetItemFeeSumamt float64 `gorm:"column:det_item_fee_sumamt" json:"det_item_fee_sumamt" form:"det_item_fee_sumamt"`
- Cnt float64 `gorm:"column:cnt" json:"cnt" form:"cnt"`
- Pric float64 `gorm:"column:pric" json:"pric" form:"pric"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- PricUplmtAmt float64 `gorm:"column:pric_uplmt_amt" json:"pric_uplmt_amt" form:"pric_uplmt_amt"`
- SelfpayProp float64 `gorm:"column:selfpay_prop" json:"selfpay_prop" form:"selfpay_prop"`
- FulamtOwnpayAmt float64 `gorm:"column:fulamt_ownpay_amt" json:"fulamt_ownpay_amt" form:"fulamt_ownpay_amt"`
- OverlmtAmt float64 `gorm:"column:overlmt_amt" json:"overlmt_amt" form:"overlmt_amt"`
- PreselfpayAmt float64 `gorm:"column:preselfpay_amt" json:"preselfpay_amt" form:"preselfpay_amt"`
- BasMednFlag string `gorm:"column:bas_medn_flag" json:"bas_medn_flag" form:"bas_medn_flag"`
- MedChrgitmType string `gorm:"column:med_chrgitm_type" json:"med_chrgitm_type" form:"med_chrgitm_type"`
- HiNegoDrugFlag string `gorm:"column:hi_nego_drug_flag" json:"hi_nego_drug_flag" form:"hi_nego_drug_flag"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Memo string `gorm:"column:memo" json:"memo" form:"memo"`
- FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- InscpScpAmt float64 `gorm:"column:inscp_scp_amt" json:"inscp_scp_amt" form:"inscp_scp_amt"`
- DrtReimFlag string `gorm:"column:drt_reim_flag" json:"drt_reim_flag" form:"drt_reim_flag"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- ListSpItemFlag string `gorm:"column:list_sp_item_flag" json:"list_sp_item_flag" form:"list_sp_item_flag"`
- ChldMedcFlag string `gorm:"column:chld_medc_flag" json:"chld_medc_flag" form:"chld_medc_flag"`
- LmtUsedFlag string `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
- ChrgitmLv string `gorm:"column:chrgitm_lv" json:"chrgitm_lv" form:"chrgitm_lv"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- OrderId int64 `gorm:"column:order_id" json:"order_id" form:"order_id"`
- ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
- Type int64 `gorm:"column:type" json:"type" form:"type"`
- ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
- NewCustomHisPrescriptionProject NewCustomHisPrescriptionProject `gorm:"ForeignKey:ID;AssociationForeignKey:ProjectId" json:"project"`
- //HisDoctorAdviceInfo HisDoctorAdviceInfo `gorm:"ForeignKey:ID;AssociationForeignKey:AdviceId" json:"advice"`
- }
-
- func (NewCustomHisOrderInfo) TableName() string {
- return "his_order_info"
- }
-
- type NewCustomHisPrescriptionProject struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
- Price float64 `gorm:"column:price" json:"price" form:"price"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
- Count string `gorm:"column:count" json:"count" form:"count"`
- FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
- MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
- SingleDose string `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
- DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
- ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
- Day string `gorm:"column:day" json:"day" form:"day"`
- HisProject HisProject `gorm:"ForeignKey:ProjectId;AssociationForeignKey:ID" json:"project"`
- GoodInfo GoodInfo `gorm:"ForeignKey:ProjectId;AssociationForeignKey:ID" json:"good_info"`
-
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
- Unit string `gorm:"column:unit" json:"unit" form:"unit"`
- Type int64 `gorm:"column:type" json:"type" form:"type"`
-
- Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
- ExecutionTime int64 `gborm:"column:execution_time" json:"execution_time" form:"execution_time"`
- ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
- ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
- CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
- CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
- Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
- StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
- TeamId int64 `gorm:"column:team_id" json:"team_id" form:"team_id"`
-
- XtHisProjectTeam XtHisProjectTeam `gorm:"ForeignKey:TeamId;AssociationForeignKey:ID" json:"team"`
-
- FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type" form:"frequency_type"`
- DayCount int64 `gorm:"column:day_count" json:"day_count" form:"day_count"`
- WeekDay string `gorm:"column:week_day" json:"week_day" form:"week_day"`
- IsCheckTeam int64 `gorm:"-" json:"is_check_team" form:"is_check_team"`
- HisOrderInfo HisOrderInfo `gorm:"ForeignKey:ProjectId;AssociationForeignKey:ID" json:"order_info"`
- ExecutionFrequencyId int64 `gorm:"column:execution_frequency_id" json:"execution_frequency_id" form:"execution_frequency_id"`
- }
-
- func (NewCustomHisPrescriptionProject) TableName() string {
- return "his_prescription_project"
- }
-
- type HisYidiClearRecord struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Certno string `gorm:"column:certno" json:"certno" form:"certno"`
- MdtrtId string `gorm:"column:mdtrt_id" json:"mdtrt_id" form:"mdtrt_id"`
- MdtrtSetlTime string `gorm:"column:mdtrt_setl_time" json:"mdtrt_setl_time" form:"mdtrt_setl_time"`
- SetlSn string `gorm:"column:setl_sn" json:"setl_sn" form:"setl_sn"`
- MedfeeSumant float64 `gorm:"column:medfee_sumant" json:"medfee_sumant" form:"medfee_sumant"`
- OptinsPaySumamt float64 `gorm:"column:optins_pay_sumamt" json:"optins_pay_sumamt" form:"optins_pay_sumamt"`
- CnfmFlag int64 `gorm:"column:cnfm_flag" json:"cnfm_flag" form:"cnfm_flag"`
- MsgId string `gorm:"column:msg_id" json:"msg_id" form:"msg_id"`
- }
-
- func (HisYidiClearRecord) TableName() string {
- return "his_yidi_clear_record"
- }
-
- type HisPrescriptionProjectTwo struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
- Price float64 `gorm:"column:price" json:"price" form:"price"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
- Count string `gorm:"column:count" json:"count" form:"count"`
- FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
- Type int64 `gorm:"column:type" json:"type" form:"type"`
- Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
- ExecutionTime int64 `gborm:"column:execution_time" json:"execution_time" form:"execution_time"`
- ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
- ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
- CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
- CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
- Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
- ExecutionFrequencyId int64 `gorm:"column:execution_frequency_id" json:"execution_frequency_id" form:"execution_frequency_id"`
- }
-
- func (HisPrescriptionProjectTwo) TableName() string {
- return "his_prescription_project"
- }
-
- type Reg struct {
- DeptId string
- PatientId string
- PatientName string
- DoctorId string
- RegDate string
- RegFee string
- TreatFee string
- OperatorId string
- IdCardNo string
- }
-
- type NewCustomTwo struct {
- DetItemFeeSumamt string
- Cut string
- FeedetlSn string
- Price string
- MedListCodg string
- Type int64
- AdviceId int64
- ProjectId int64
- ItemId int64
- }
-
- type VmHisOrder struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- SettleAccountsDate int64 `gorm:"column:settle_accounts_date" json:"settle_accounts_date" form:"settle_accounts_date"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- Infcode int64 `gorm:"column:infcode" json:"infcode" form:"infcode"`
- WarnMsg string `gorm:"column:warn_msg" json:"warn_msg" form:"warn_msg"`
- Cainfo string `gorm:"column:cainfo" json:"cainfo" form:"cainfo"`
- ErrMsg string `gorm:"column:err_msg" json:"err_msg" form:"err_msg"`
- RespondTime string `gorm:"column:respond_time" json:"respond_time" form:"respond_time"`
- InfRefmsgid string `gorm:"column:inf_refmsgid" json:"inf_refmsgid" form:"inf_refmsgid"`
- OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
- MdtrtId string `gorm:"column:mdtrt_id" json:"mdtrt_id" form:"mdtrt_id"`
- SetlId string `gorm:"column:setl_id" json:"setl_id" form:"setl_id"`
- PsnNo string `gorm:"column:psn_no" json:"psn_no" form:"psn_no"`
- PsnName string `gorm:"column:psn_name" json:"psn_name" form:"psn_name"`
- PsnCertType string `gorm:"column:psn_cert_type" json:"psn_cert_type" form:"psn_cert_type"`
- Certno string `gorm:"column:certno" json:"certno" form:"certno"`
- Gend string `gorm:"column:gend" json:"gend" form:"gend"`
- Naty string `gorm:"column:naty" json:"naty" form:"naty"`
- Brdy time.Time `gorm:"column:brdy" json:"brdy" form:"brdy"`
- Age float64 `gorm:"column:age" json:"age" form:"age"`
- Insutype string `gorm:"column:insutype" json:"insutype" form:"insutype"`
- PsnType string `gorm:"column:psn_type" json:"psn_type" form:"psn_type"`
- CvlservFlag string `gorm:"column:cvlserv_flag" json:"cvlserv_flag" form:"cvlserv_flag"`
- SetlTime string `gorm:"column:setl_time" json:"setl_time" form:"setl_time"`
- MdtrtCertType string `gorm:"column:mdtrt_cert_type" json:"mdtrt_cert_type" form:"mdtrt_cert_type"`
- MedType string `gorm:"column:med_type" json:"med_type" form:"med_type"`
- MedfeeSumamt float64 `gorm:"column:medfee_sumamt" json:"medfee_sumamt" form:"medfee_sumamt"`
- FulamtOwnpayAmt float64 `gorm:"column:fulamt_ownpay_amt" json:"fulamt_ownpay_amt" form:"fulamt_ownpay_amt"`
- OverlmtSelfPay float64 `gorm:"column:overlmt_self_pay" json:"overlmt_self_pay" form:"overlmt_self_pay"`
- PreselfpayAmt float64 `gorm:"column:preselfpay_amt" json:"preselfpay_amt" form:"preselfpay_amt"`
- InscpScpAmt float64 `gorm:"column:inscp_scp_amt" json:"inscp_scp_amt" form:"inscp_scp_amt"`
- ActPayDedc float64 `gorm:"column:act_pay_dedc" json:"act_pay_dedc" form:"act_pay_dedc"`
- HifpPay float64 `gorm:"column:hifp_pay" json:"hifp_pay" form:"hifp_pay"`
- CvlservPay float64 `gorm:"column:cvlserv_pay" json:"cvlserv_pay" form:"cvlserv_pay"`
- PoolPropSelfpay float64 `gorm:"column:pool_prop_selfpay" json:"pool_prop_selfpay" form:"pool_prop_selfpay"`
- HifesPay float64 `gorm:"column:hifes_pay" json:"hifes_pay" form:"hifes_pay"`
- HifmiPay float64 `gorm:"column:hifmi_pay" json:"hifmi_pay" form:"hifmi_pay"`
- HifobPay float64 `gorm:"column:hifob_pay" json:"hifob_pay" form:"hifob_pay"`
- MafPay float64 `gorm:"column:maf_pay" json:"maf_pay" form:"maf_pay"`
- OthPay float64 `gorm:"column:oth_pay" json:"oth_pay" form:"oth_pay"`
- FundPaySumamt float64 `gorm:"column:fund_pay_sumamt" json:"fund_pay_sumamt" form:"fund_pay_sumamt"`
- PsnPartAmt float64 `gorm:"column:psn_part_amt" json:"psn_part_amt" form:"psn_part_amt"`
- AcctPay float64 `gorm:"column:acct_pay" json:"acct_pay" form:"acct_pay"`
- PsnCashPay float64 `gorm:"column:psn_cash_pay" json:"psn_cash_pay" form:"psn_cash_pay"`
- HospPartAmt float64 `gorm:"column:hosp_part_amt" json:"hosp_part_amt" form:"hosp_part_amt"`
- Balc float64 `gorm:"column:balc" json:"balc" form:"balc"`
- AcctMulaidPay float64 `gorm:"column:acct_mulaid_pay" json:"acct_mulaid_pay" form:"acct_mulaid_pay"`
- MedinsSetlId string `gorm:"column:medins_setl_id" json:"medins_setl_id" form:"medins_setl_id"`
- ClrOptins string `gorm:"column:clr_optins" json:"clr_optins" form:"clr_optins"`
- ClrWay string `gorm:"column:clr_way" json:"clr_way" form:"clr_way"`
- ClrType string `gorm:"column:clr_type" json:"clr_type" form:"clr_type"`
- SetlDetail string `gorm:"column:setl_detail" json:"setl_detail" form:"setl_detail"`
- PayWay int64 `gorm:"column:pay_way" json:"pay_way" form:"pay_way"`
- PayPrice float64 `gorm:"column:pay_price" json:"pay_price" form:"pay_price"`
- PayCardNo string `gorm:"column:pay_card_no" json:"pay_card_no" form:"pay_card_no"`
- DiscountPrice float64 `gorm:"column:discount_price" json:"discount_price" form:"discount_price"`
- PreferentialPrice float64 `gorm:"column:preferential_price" json:"preferential_price" form:"preferential_price"`
- RealityPrice float64 `gorm:"column:reality_price" json:"reality_price" form:"reality_price"`
- FoundPrice float64 `gorm:"column:found_price" json:"found_price" form:"found_price"`
- MedicalInsurancePrice float64 `gorm:"column:medical_insurance_price" json:"medical_insurance_price" form:"medical_insurance_price"`
- PrivatePrice float64 `gorm:"column:private_price" json:"private_price" form:"private_price"`
- IsMedicineInsurance int64 `gorm:"column:is_medicine_insurance" json:"is_medicine_insurance" form:"is_medicine_insurance"`
- SettleType int64 `gorm:"column:settle_type" json:"settle_type" form:"settle_type"`
- SettleStartTime int64 `gorm:"column:settle_start_time" json:"settle_start_time" form:"settle_start_time"`
- SettleEndTime int64 `gorm:"column:settle_end_time" json:"settle_end_time" form:"settle_end_time"`
- Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
- Modify int64 `gorm:"column:modify" json:"modify" form:"modify"`
- SzChargeInfo string `gorm:"column:sz_charge_info" json:"sz_charge_info" form:"sz_charge_info"`
- SzProjectInfo string `gorm:"column:sz_project_info" json:"sz_project_info" form:"sz_project_info"`
- SzMedicineInsuranceInfo string `gorm:"column:sz_medicine_insurance_info" json:"sz_medicine_insurance_info" form:"sz_medicine_insurance_info"`
- AccountPrice float64 `gorm:"column:account_price" json:"account_price" form:"account_price"`
- MzNumber string `gorm:"column:mz_number" json:"mz_number" form:"mz_number"`
- OrgSetlNumber string `gorm:"column:org_setl_number" json:"org_setl_number" form:"org_setl_number"`
- YiliaoNumber string `gorm:"column:yiliao_number" json:"yiliao_number" form:"yiliao_number"`
- RefundLog string `gorm:"column:refund_log" json:"refund_log" form:"refund_log"`
- DetailLog string `gorm:"column:detail_log" json:"detail_log" form:"detail_log"`
- RequestLog string `gorm:"column:request_log" json:"request_log" form:"request_log"`
- RefundRequestLog string `gorm:"column:refund_request_log" json:"refund_request_log" form:"refund_request_log"`
- FaPiaoCode string `gorm:"column:fa_piao_code" json:"fa_piao_code" form:"fa_piao_code"`
- FaPiaoNumber string `gorm:"column:fa_piao_number" json:"fa_piao_number" form:"fa_piao_number"`
- PType int64 `gorm:"column:p_type" json:"p_type" form:"p_type"`
- IsPre int64 `gorm:"column:is_pre" json:"is_pre" form:"is_pre"`
- Diagnosis string `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
- FaPiaoBatchnumberId int64 `gorm:"column:fa_piao_batchnumber_id" json:"fa_piao_batchnumber_id" form:"fa_piao_batchnumber_id"`
- Decimal float64 `gorm:"column:decimal" json:"decimal" form:"decimal"`
- IsUploadDiagnose int64 `gorm:"column:is_upload_diagnose" json:"is_upload_diagnose" form:"is_upload_diagnose"`
- IsUploadOrderInfo int64 `gorm:"column:is_upload_order_info" json:"is_upload_order_info" form:"is_upload_order_info"`
- IsUploadSuccess int64 `gorm:"column:is_upload_success" json:"is_upload_success" form:"is_upload_success"`
- OthDesc string `gorm:"oth_desc" json:"oth_desc" form:"oth_desc"`
- PayWays string `gorm:"pay_ways" json:"pay_ways" form:"pay_ways"`
- }
-
- func (VmHisOrder) TableName() string {
- return "his_order"
- }
-
- type NewHisOrderTwo struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- SettleAccountsDate int64 `gorm:"column:settle_accounts_date" json:"settle_accounts_date" form:"settle_accounts_date"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
- MdtrtId string `gorm:"column:mdtrt_id" json:"mdtrt_id" form:"mdtrt_id"`
- PsnName string `gorm:"column:psn_name" json:"psn_name" form:"psn_name"`
- PsnType string `gorm:"column:psn_type" json:"psn_type" form:"psn_type"`
- Certno string `gorm:"column:certno" json:"certno" form:"certno"`
- IsUploadDiagnose int64 `gorm:"column:is_upload_diagnose" json:"is_upload_diagnose" form:"is_upload_diagnose"`
- IsUploadOrderInfo int64 `gorm:"column:is_upload_order_info" json:"is_upload_order_info" form:"is_upload_order_info"`
- IsUploadSuccess int64 `gorm:"column:is_upload_success" json:"is_upload_success" form:"is_upload_success"`
-
- NewHisChargeOrderInfo []*NewHisChargeOrderInfo `gorm:"ForeignKey:OrderNumber;AssociationForeignKey:Number" json:"info"`
- NewHisHospitalCheckRecord NewHisHospitalCheckRecord `gorm:"ForeignKey:Number;AssociationForeignKey:Number" json:"his"`
- }
-
- func (NewHisOrderTwo) TableName() string {
- return "his_order"
- }
-
- type NewHisChargeOrderInfo struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- OrderNumber string `gorm:"column:order_number" json:"order_number" form:"order_number"`
- AdviceId int64 `gorm:"column:advice_id" json:"advice_id" form:"advice_id"`
- DetItemFeeSumamt float64 `gorm:"column:det_item_fee_sumamt" json:"det_item_fee_sumamt" form:"det_item_fee_sumamt"`
- Cnt float64 `gorm:"column:cnt" json:"cnt" form:"cnt"`
- Pric float64 `gorm:"column:pric" json:"pric" form:"pric"`
- MedChrgitmType string `gorm:"column:med_chrgitm_type" json:"med_chrgitm_type" form:"med_chrgitm_type"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- ChldMedcFlag string `gorm:"column:chld_medc_flag" json:"chld_medc_flag" form:"chld_medc_flag"`
- ChrgitmLv string `gorm:"column:chrgitm_lv" json:"chrgitm_lv" form:"chrgitm_lv"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
- Type int64 `gorm:"column:type" json:"type" form:"type"`
- HisChargePrescriptionProject HisChargePrescriptionProject `gorm:"ForeignKey:ProjectId;AssociationForeignKey:ID" json:"project"`
- HisChargeDoctorAdviceInfo HisChargeDoctorAdviceInfo `gorm:"ForeignKey:AdviceId;AssociationForeignKey:ID" json:"advice"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- InscpScpAmt float64 `gorm:"column:inscp_scp_amt" json:"inscp_scp_amt" form:"inscp_scp_amt"`
- UploadDate int64 `gorm:"column:upload_date" json:"upload_date" form:"upload_date"`
- }
-
- func (NewHisChargeOrderInfo) TableName() string {
- return "his_order_info"
- }
-
- type NewHisHospitalCheckRecord struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- MdtrtCertType string `gorm:"column:mdtrt_cert_type" json:"mdtrt_cert_type" form:"mdtrt_cert_type"`
- InHosptialTime string `gorm:"column:in_hosptial_time" json:"in_hosptial_time" form:"in_hosptial_time"`
- OutHosptialTime string `gorm:"column:out_hosptial_time" json:"out_hosptial_time" form:"out_hosptial_time"`
- }
-
- func (NewHisHospitalCheckRecord) TableName() string {
- return "his_hospital_check_record"
- }
-
- type HisOrderTenty struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- PsnCertType string `gorm:"column:psn_cert_type" json:"psn_cert_type" form:"psn_cert_type"`
- SettleAccountsDate int64 `gorm:"column:settle_accounts_date" json:"settle_accounts_date" form:"settle_accounts_date"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- Infcode int64 `gorm:"column:infcode" json:"infcode" form:"infcode"`
- WarnMsg string `gorm:"column:warn_msg" json:"warn_msg" form:"warn_msg"`
- Cainfo string `gorm:"column:cainfo" json:"cainfo" form:"cainfo"`
- ErrMsg string `gorm:"column:err_msg" json:"err_msg" form:"err_msg"`
- RespondTime string `gorm:"column:respond_time" json:"respond_time" form:"respond_time"`
- InfRefmsgid string `gorm:"column:inf_refmsgid" json:"inf_refmsgid" form:"inf_refmsgid"`
- OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
- MdtrtId string `gorm:"column:mdtrt_id" json:"mdtrt_id" form:"mdtrt_id"`
- SetlId string `gorm:"column:setl_id" json:"setl_id" form:"setl_id"`
- PsnNo string `gorm:"column:psn_no" json:"psn_no" form:"psn_no"`
- PsnName string `gorm:"column:psn_name" json:"psn_name" form:"psn_name"`
- Certno string `gorm:"column:certno" json:"certno" form:"certno"`
- Gend string `gorm:"column:gend" json:"gend" form:"gend"`
- Naty string `gorm:"column:naty" json:"naty" form:"naty"`
- Brdy time.Time `gorm:"column:brdy" json:"brdy" form:"brdy"`
- Age float64 `gorm:"column:age" json:"age" form:"age"`
- Insutype string `gorm:"column:insutype" json:"insutype" form:"insutype"`
- PsnType string `gorm:"column:psn_type" json:"psn_type" form:"psn_type"`
- CvlservFlag string `gorm:"column:cvlserv_flag" json:"cvlserv_flag" form:"cvlserv_flag"`
- SetlTime string `gorm:"column:setl_time" json:"setl_time" form:"setl_time"`
- MdtrtCertType string `gorm:"column:mdtrt_cert_type" json:"mdtrt_cert_type" form:"mdtrt_cert_type"`
- MedType string `gorm:"column:med_type" json:"med_type" form:"med_type"`
- MedfeeSumamt float64 `gorm:"column:medfee_sumamt" json:"medfee_sumamt" form:"medfee_sumamt"`
- FulamtOwnpayAmt float64 `gorm:"column:fulamt_ownpay_amt" json:"fulamt_ownpay_amt" form:"fulamt_ownpay_amt"`
- OverlmtSelfPay float64 `gorm:"column:overlmt_self_pay" json:"overlmt_self_pay" form:"overlmt_self_pay"`
- PreselfpayAmt float64 `gorm:"column:preselfpay_amt" json:"preselfpay_amt" form:"preselfpay_amt"`
- InscpScpAmt float64 `gorm:"column:inscp_scp_amt" json:"inscp_scp_amt" form:"inscp_scp_amt"`
- ActPayDedc float64 `gorm:"column:act_pay_dedc" json:"act_pay_dedc" form:"act_pay_dedc"`
- HifpPay float64 `gorm:"column:hifp_pay" json:"hifp_pay" form:"hifp_pay"`
- CvlservPay float64 `gorm:"column:cvlserv_pay" json:"cvlserv_pay" form:"cvlserv_pay"`
- PoolPropSelfpay float64 `gorm:"column:pool_prop_selfpay" json:"pool_prop_selfpay" form:"pool_prop_selfpay"`
- HifesPay float64 `gorm:"column:hifes_pay" json:"hifes_pay" form:"hifes_pay"`
- HifmiPay float64 `gorm:"column:hifmi_pay" json:"hifmi_pay" form:"hifmi_pay"`
- HifobPay float64 `gorm:"column:hifob_pay" json:"hifob_pay" form:"hifob_pay"`
- MafPay float64 `gorm:"column:maf_pay" json:"maf_pay" form:"maf_pay"`
- OthPay float64 `gorm:"column:oth_pay" json:"oth_pay" form:"oth_pay"`
- FundPaySumamt float64 `gorm:"column:fund_pay_sumamt" json:"fund_pay_sumamt" form:"fund_pay_sumamt"`
- PsnPartAmt float64 `gorm:"column:psn_part_amt" json:"psn_part_amt" form:"psn_part_amt"`
- AcctPay float64 `gorm:"column:acct_pay" json:"acct_pay" form:"acct_pay"`
- PsnCashPay float64 `gorm:"column:psn_cash_pay" json:"psn_cash_pay" form:"psn_cash_pay"`
- HospPartAmt float64 `gorm:"column:hosp_part_amt" json:"hosp_part_amt" form:"hosp_part_amt"`
- Balc float64 `gorm:"column:balc" json:"balc" form:"balc"`
- AcctMulaidPay float64 `gorm:"column:acct_mulaid_pay" json:"acct_mulaid_pay" form:"acct_mulaid_pay"`
- MedinsSetlId string `gorm:"column:medins_setl_id" json:"medins_setl_id" form:"medins_setl_id"`
- ClrOptins string `gorm:"column:clr_optins" json:"clr_optins" form:"clr_optins"`
- ClrWay string `gorm:"column:clr_way" json:"clr_way" form:"clr_way"`
- ClrType string `gorm:"column:clr_type" json:"clr_type" form:"clr_type"`
- SetlDetail string `gorm:"column:setl_detail" json:"setl_detail" form:"setl_detail"`
- PayWay int64 `gorm:"column:pay_way" json:"pay_way" form:"pay_way"`
- PayPrice float64 `gorm:"column:pay_price" json:"pay_price" form:"pay_price"`
- PayCardNo string `gorm:"column:pay_card_no" json:"pay_card_no" form:"pay_card_no"`
- DiscountPrice float64 `gorm:"column:discount_price" json:"discount_price" form:"discount_price"`
- PreferentialPrice float64 `gorm:"column:preferential_price" json:"preferential_price" form:"preferential_price"`
- RealityPrice float64 `gorm:"column:reality_price" json:"reality_price" form:"reality_price"`
- FoundPrice float64 `gorm:"column:found_price" json:"found_price" form:"found_price"`
- MedicalInsurancePrice float64 `gorm:"column:medical_insurance_price" json:"medical_insurance_price" form:"medical_insurance_price"`
- PrivatePrice float64 `gorm:"column:private_price" json:"private_price" form:"private_price"`
- IsMedicineInsurance int64 `gorm:"column:is_medicine_insurance" json:"is_medicine_insurance" form:"is_medicine_insurance"`
- SettleType int64 `gorm:"column:settle_type" json:"settle_type" form:"settle_type"`
- SettleStartTime int64 `gorm:"column:settle_start_time" json:"settle_start_time" form:"settle_start_time"`
- SettleEndTime int64 `gorm:"column:settle_end_time" json:"settle_end_time" form:"settle_end_time"`
- Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
- Modify int64 `gorm:"column:modify" json:"modify" form:"modify"`
- SzChargeInfo string `gorm:"column:sz_charge_info" json:"sz_charge_info" form:"sz_charge_info"`
- SzProjectInfo string `gorm:"column:sz_project_info" json:"sz_project_info" form:"sz_project_info"`
- SzMedicineInsuranceInfo string `gorm:"column:sz_medicine_insurance_info" json:"sz_medicine_insurance_info" form:"sz_medicine_insurance_info"`
- AccountPrice string `gorm:"column:account_price" json:"account_price" form:"account_price"`
- MzNumber string `gorm:"column:mz_number" json:"mz_number" form:"mz_number"`
- OrgSetlNumber string `gorm:"column:org_setl_number" json:"org_setl_number" form:"org_setl_number"`
- YiliaoNumber string `gorm:"column:yiliao_number" json:"yiliao_number" form:"yiliao_number"`
- RefundLog string `gorm:"column:refund_log" json:"refund_log" form:"refund_log"`
- DetailLog string `gorm:"column:detail_log" json:"detail_log" form:"detail_log"`
- FaPiaoCode string `gorm:"column:fa_piao_code" json:"fa_piao_code" form:"fa_piao_code"`
- FaPiaoNumber string `gorm:"column:fa_piao_number" json:"fa_piao_number" form:"fa_piao_number"`
- RequestLog string `gorm:"column:request_log" json:"request_log" form:"request_log"`
- RefundRequestLog string `gorm:"column:refund_request_log" json:"refund_request_log" form:"refund_request_log"`
- PType int64 `gorm:"column:p_type" json:"p_type" form:"p_type"`
- IsPre int64 `gorm:"column:is_pre" json:"is_pre" form:"is_pre"`
- Diagnosis string `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
- FaPiaoBatchnumberId int64 `gorm:"column:fa_piao_batchnumber_id" json:"fa_piao_batchnumber_id" form:"fa_piao_batchnumber_id"`
- Decimal float64 `gorm:"column:decimal" json:"decimal" form:"decimal"`
- HisOrderInfoTwenty []*HisOrderInfoTwenty `gorm:"ForeignKey:OrderId;AssociationForeignKey:ID" json:"order_info"`
- Patients Patients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"patient"`
- HisHospitalCheckRecordTwenty HisHospitalCheckRecordTwenty `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"hisPatient"`
- IsUploadDiagnose int64 `gorm:"column:is_upload_diagnose" json:"is_upload_diagnose" form:"is_upload_diagnose"`
- IsUploadOrderInfo int64 `gorm:"column:is_upload_order_info" json:"is_upload_order_info" form:"is_upload_order_info"`
- IsUploadSuccess int64 `gorm:"column:is_upload_success" json:"is_upload_success" form:"is_upload_success"`
- OthDesc string `gorm:"oth_desc" json:"oth_desc" form:"oth_desc"`
- PayWays string `gorm:"pay_ways" json:"pay_ways" form:"pay_ways"`
- }
-
- func (HisOrderTenty) TableName() string {
- return "his_order"
- }
-
- type HisOrderInfoTwenty struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- OrderNumber string `gorm:"column:order_number" json:"order_number" form:"order_number"`
- UploadDate int64 `gorm:"column:upload_date" json:"upload_date" form:"upload_date"`
- AdviceId int64 `gorm:"column:advice_id" json:"advice_id" form:"advice_id"`
- DetItemFeeSumamt float64 `gorm:"column:det_item_fee_sumamt" json:"det_item_fee_sumamt" form:"det_item_fee_sumamt"`
- Cnt float64 `gorm:"column:cnt" json:"cnt" form:"cnt"`
- Pric float64 `gorm:"column:pric" json:"pric" form:"pric"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- PricUplmtAmt float64 `gorm:"column:pric_uplmt_amt" json:"pric_uplmt_amt" form:"pric_uplmt_amt"`
- SelfpayProp float64 `gorm:"column:selfpay_prop" json:"selfpay_prop" form:"selfpay_prop"`
- FulamtOwnpayAmt float64 `gorm:"column:fulamt_ownpay_amt" json:"fulamt_ownpay_amt" form:"fulamt_ownpay_amt"`
- OverlmtAmt float64 `gorm:"column:overlmt_amt" json:"overlmt_amt" form:"overlmt_amt"`
- PreselfpayAmt float64 `gorm:"column:preselfpay_amt" json:"preselfpay_amt" form:"preselfpay_amt"`
- BasMednFlag string `gorm:"column:bas_medn_flag" json:"bas_medn_flag" form:"bas_medn_flag"`
- MedChrgitmType string `gorm:"column:med_chrgitm_type" json:"med_chrgitm_type" form:"med_chrgitm_type"`
- HiNegoDrugFlag string `gorm:"column:hi_nego_drug_flag" json:"hi_nego_drug_flag" form:"hi_nego_drug_flag"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Memo string `gorm:"column:memo" json:"memo" form:"memo"`
- FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- InscpScpAmt float64 `gorm:"column:inscp_scp_amt" json:"inscp_scp_amt" form:"inscp_scp_amt"`
- DrtReimFlag string `gorm:"column:drt_reim_flag" json:"drt_reim_flag" form:"drt_reim_flag"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- ListSpItemFlag string `gorm:"column:list_sp_item_flag" json:"list_sp_item_flag" form:"list_sp_item_flag"`
- ChldMedcFlag string `gorm:"column:chld_medc_flag" json:"chld_medc_flag" form:"chld_medc_flag"`
- LmtUsedFlag string `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
- ChrgitmLv string `gorm:"column:chrgitm_lv" json:"chrgitm_lv" form:"chrgitm_lv"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- OrderId int64 `gorm:"column:order_id" json:"order_id" form:"order_id"`
- ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
- Type int64 `gorm:"column:type" json:"type" form:"type"`
- ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
- Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
- Modify int64 `gorm:"column:modify" json:"modify" form:"modify"`
- OverPricPsnPay float64 `gorm:"column:over_pric_psn_pay" json:"over_pric_psn_pay" form:"over_pric_psn_pay"`
- AllowReimburse float64 `gorm:"column:allow_reimburse" json:"allow_reimburse" form:"allow_reimburse"`
- SettleType int64 `gorm:"column:settle_type" json:"settle_type" form:"settle_type"`
- Patients Patients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"patient"`
- HisHospitalCheckRecordTwenty HisHospitalCheckRecordTwenty `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"hisPatient"`
- HisOrderTenty HisOrderTenty `gorm:"ForeignKey:ID;AssociationForeignKey:OrderId" json:"order"`
- HisPrescriptionProject HisPrescriptionProject `gorm:"ForeignKey:ID;AssociationForeignKey:ProjectId" json:"his_prescription_project"`
- HisDoctorAdvice HisDoctorAdvice `gorm:"ForeignKey:ID;AssociationForeignKey:AdviceId" json:"his_doctor_advice"`
- }
-
- func (HisOrderInfoTwenty) TableName() string {
- return "his_order_info"
- }
-
- type HisHospitalCheckRecordTwenty struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- Name string `gorm:"column:name" json:"name" form:"name"`
- MedicalTreatmentType int64 `gorm:"column:medical_treatment_type" json:"medical_treatment_type" form:"medical_treatment_type"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
- AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
- Departments int64 `gorm:"column:departments" json:"departments" form:"departments"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
- PsnNo string `gorm:"column:psn_no" json:"psn_no" form:"psn_no"`
- PsnCertType string `gorm:"column:psn_cert_type" json:"psn_cert_type" form:"psn_cert_type"`
- Certno string `gorm:"column:certno" json:"certno" form:"certno"`
- PsnName string `gorm:"column:psn_name" json:"psn_name" form:"psn_name"`
- Gend string `gorm:"column:gend" json:"gend" form:"gend"`
- Naty string `gorm:"column:naty" json:"naty" form:"naty"`
- MedType int64 `gorm:"column:med_type" json:"med_type" form:"med_type"`
- Brdy string `gorm:"column:brdy" json:"brdy" form:"brdy"`
- Iinfo string `gorm:"column:iinfo" json:"iinfo" form:"iinfo"`
- Idetinfo string `gorm:"column:idetinfo" json:"idetinfo" form:"idetinfo"`
- IptOtpNo string `gorm:"column:ipt_otp_no" json:"ipt_otp_no" form:"ipt_otp_no"`
- AdmBed int64 `gorm:"column:adm_bed" json:"adm_bed" form:"adm_bed"`
- IdCardType int64 `gorm:"column:id_card_type" json:"id_card_type" form:"id_card_type"`
- Diagnosis string `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
- InsutypeType string `gorm:"column:insutype_type" json:"insutype_type" form:"insutype_type"`
- SickType int64 `gorm:"column:sick_type" json:"sick_type" form:"sick_type"`
- MdtrtCertType string `gorm:"column:mdtrt_cert_type" json:"mdtrt_cert_type" form:"mdtrt_cert_type"`
- InHosptialTime string `gorm:"column:in_hosptial_time" json:"in_hosptial_time" form:"in_hosptial_time"`
- OutHosptialTime string `gorm:"column:out_hosptial_time" json:"out_hosptial_time" form:"out_hosptial_time"`
- InHospitalStatus int64 `gorm:"column:in_hospital_status" json:"in_hospital_status" form:"in_hospital_status"`
- Certificates int64 `gorm:"column:certificates" json:"certificates" form:"certificates"`
- OutHospitalStatus int64 `gorm:"column:out_hospital_status" json:"out_hospital_status" form:"out_hospital_status"`
- OutWay int64 `gorm:"column:out_way" json:"out_way" form:"out_way"`
- Phone string `gorm:"column:phone" json:"phone" form:"phone"`
- BalanceAccountsType int64 `gorm:"column:balance_accounts_type" json:"balance_accounts_type" form:"balance_accounts_type"`
- PsnType int64 `gorm:"column:psn_type" json:"psn_type" form:"psn_type"`
- InsuplcAdmdvs string `gorm:"column:insuplc_admdvs" json:"insuplc_admdvs" form:"insuplc_admdvs"`
- }
-
- func (HisHospitalCheckRecordTwenty) TableName() string {
- return "his_hospital_check_record"
- }
-
- type UploadInfo struct {
- Bce02a string `json:"bce02a"`
- Bck01c string `json:"bck01c"`
- Diag []*Diag
- Fasong string `json:"fasong"`
- PresInfo []*PresInfo
- Vaa01 int `json:"vaa01"`
- Vaa07 int `json:"vaa07"`
- }
-
- type Diag struct {
- Bak02 string `json:"bak02"`
- Vao06 string `json:"vao06"`
- }
-
- type PresDetail struct {
- Item []*Item
- Vaf59 string `json:"vaf59"`
- }
-
- type PresInfo struct {
- Cbm06 string `json:"cbm06"`
- Cbm07 string `json:"cbm07"`
- Cbmid string `json:"cbmid"`
- PresDetail []*PresDetail
- }
-
- type Item struct {
- Bbx01 string `json:"bbx01"`
- Bby01 string `json:"bby01"`
- Bck01b string `json:"bck01b"`
- Bck01d string `json:"bck01d"`
- Bda01 string `json:"bda01"`
- Bdi01 string `json:"bdi01"`
- Rownr string `json:"rownr"`
- Vaf11 string `json:"vaf11"`
- Vaf14 string `json:"vaf14"`
- Vaf15 string `json:"vaf15"`
- Vaf17 string `json:"vaf17"`
- Vaf18 int `json:"vaf18"`
- Vaf19 string `json:"vaf19"`
- Vaf20 string `json:"vaf20"`
- Vaf21 string `json:"vaf21"`
- Vaf22 string `json:"vaf22"`
- Vaf32 string `json:"vaf32"`
- Vaf35 string `json:"vaf35"`
- Vaf36 string `json:"vaf36"`
- Vaf58 string `json:"vaf58"`
- Vaf61 string `json:"vaf61"`
- }
-
- type HisSettleStockConfig struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- IsOpen int64 `gorm:"column:is_open" json:"is_open" form:"is_open"`
- }
-
- func (HisSettleStockConfig) TableName() string {
- return "his_settle_stock_config"
- }
-
- type XtGoodOutConfig struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- IsOpen int64 `gorm:"column:is_open" json:"is_open" form:"is_open"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- }
-
- func (XtGoodOutConfig) TableName() string {
- return "xt_good_out_config"
- }
-
- type GoodHisPrescriptionProject struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
- Price float64 `gorm:"column:price" json:"price" form:"price"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
- Count string `gorm:"column:count" json:"count" form:"count"`
- FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
- MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
- SingleDose string `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
- DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
- ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
- Day string `gorm:"column:day" json:"day" form:"day"`
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
- Unit string `gorm:"column:unit" json:"unit" form:"unit"`
- Type int64 `gorm:"column:type" json:"type" form:"type"`
- Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
- ExecutionTime int64 `gorm:"column:execution_time" json:"execution_time" form:"execution_time"`
- ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
- ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
- CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
- CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
- Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
- StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
- TeamId int64 `gorm:"column:team_id" json:"team_id" form:"team_id"`
- FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type" form:"frequency_type"`
- DayCount int64 `gorm:"column:day_count" json:"day_count" form:"day_count"`
- WeekDay string `gorm:"column:week_day" json:"week_day" form:"week_day"`
- ExecutionFrequencyId int64 `gorm:"column:execution_frequency_id" json:"execution_frequency_id" form:"execution_frequency_id"`
- IsOut int64 `gorm:"column:is_out" json:"is_out" form:"is_out"`
- }
-
- func (GoodHisPrescriptionProject) TableName() string {
- return "his_prescription_project"
- }
-
- type ExportHisPrescription struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- Type int64 `gorm:"column:type" json:"type" form:"type"`
- Doctor string `gorm:"column:doctor" json:"doctor" form:"doctor"`
- Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
- Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
- OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
- PreTime int64 `gorm:"column:pre_time" json:"pre_time" form:"pre_time"`
- BatchNumber string `gorm:"column:batch_number" json:"batch_number" form:"batch_number"`
- PrescriptionNumber string `gorm:"column:prescription_number" json:"prescription_number" form:"prescription_number"`
- Patients Patients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"patient"`
- HisDoctorAdviceInfo []*HisDoctorAdviceInfo `gorm:"ForeignKey:PrescriptionId;AssociationForeignKey:ID" json:"advices"`
- HisPrescriptionProject []*HisPrescriptionProject `gorm:"ForeignKey:PrescriptionId;AssociationForeignKey:ID" json:"project"`
- Total string `gorm:"-" json:"total" form:"total"`
- PType int64 `gorm:"column:p_type" json:"p_type" form:"p_type"`
- MedType string `gorm:"column:med_type" json:"med_type" form:"med_type"`
- IsMedicine int64 `gorm:"column:is_medicine" json:"is_medicine" form:"is_medicine"`
- }
-
- func (ExportHisPrescription) TableName() string {
- return "his_prescription"
- }
-
- type Orders struct {
- BedCostPartSelfTotal float64 `json:"bedCostPartSelfTotal"`
- BedCostSelfTotal float64 `json:"bedCostSelfTotal"`
- BedCostTotal float64 `json:"bedCostTotal"`
- BedInscpTotal float64 `json:"bedInscpTotal"`
- BedSelfTotal float64 `json:"bedSelfTotal"`
- ChargeAdmin UserAdminRole `json:"charge_admin"`
- CheckCostPartSelfTotal float64 `json:"checkCostPartSelfTotal"`
- CheckCostSelfTotal float64 `json:"checkCostSelfTotal"`
- CheckCostTotal float64 `json:"checkCostTotal"`
- CheckInscpTotal float64 `json:"checkInscpTotal"`
- CheckSelfTotal float64 `json:"checkSelfTotal"`
- ChineseTraditionalInscpTotal float64 `json:"chineseTraditionalInscpTotal"`
- ChineseTraditionalMedicineCostPartSelfTotal float64 `json:"chineseTraditionalMedicineCostPartSelfTotal"`
- ChineseTraditionalMedicineCostSelfTotal float64 `json:"chineseTraditionalMedicineCostSelfTotal"`
- ChineseTraditionalMedicineCostTotal float64 `json:"chineseTraditionalMedicineCostTotal"`
- ChineseTraditionalSelfTotal float64 `json:"chineseTraditionalSelfTotal"`
- Date int64 `json:"date"`
- DiaConfig []*HisXtDiagnoseConfig `json:"dia_config"`
- Diagnosis string `json:"diagnosis"`
- DoctorInfo UserAdminRole `json:"doctor_info"`
- DoctorName string `json:"doctor_name"`
- HealthCardNo string `json:"health_card_no"`
-
- LaboratoryCostPartSelfTotal float64 `json:"laboratoryCostPartSelfTotal"`
- LaboratoryCostSelfTotal float64 `json:"laboratoryCostSelfTotal"`
- LaboratoryCostTotal float64 `json:"laboratoryCostTotal"`
- LaboratoryInscpTotal float64 `json:"laboratoryInscpTotal"`
- LaboratorySelfTotal float64 `json:"laboratorySelfTotal"`
- MaterialCostPartSelfTotal float64 `json:"materialCostPartSelfTotal"`
- MaterialCostSelfTotal float64 `json:"materialCostSelfTotal"`
- MaterialCostTotal float64 `json:"materialCostTotal"`
- MaterialInscpTotal float64 `json:"materialInscpTotal"`
- MaterialSelfTotal float64 `json:"materialSelfTotal"`
- Number string `json:"number"`
- OperationCostPartSelfTotal float64 `json:"operationCostPartSelfTotal"`
- OperationCostSelfTotal float64 `json:"operationCostSelfTotal"`
- OperationCostTotal float64 `json:"operationCostTotal"`
- OperationInscpTotal float64 `json:"operationInscpTotal"`
- OperationSelfTotal float64 `json:"operationSelfTotal"`
- Order HisOrder `json:"order"`
- OrderInfos []*HisOrderInfoTwo `json:"order_infos"`
- OrderNumber string `json:"order_number"`
- OrgCode string `json:"org_code"`
- OrgName string `json:"org_name"`
- OtherCostPartSelfTotal float64 `json:"otherCostPartSelfTotal"`
- OtherCostSelfTotal float64 `json:"otherCostSelfTotal"`
- OtherCostTotal float64 `json:"otherCostTotal"`
- OtherInscpTotal float64 `json:"otherInscpTotal"`
- OtherSelfTotal float64 `json:"otherSelfTotal"`
- Patient PatientTwos `json:"patient"`
- PrintorAdmin UserAdminRole `json:"printor_admin"`
- TreatCostPartSelfTotal float64 `json:"treatCostPartSelfTotal"`
- TreatCostSelfTotal float64 `json:"treatCostSelfTotal"`
- TreatCostTotal float64 `json:"treatCostTotal"`
- TreatInscpTotal float64 `json:"treatInscpTotal"`
- TreatSelfTotal float64 `json:"treatSelfTotal"`
- WesternMedicineCostPartSelfTotal float64 `json:"westernMedicineCostPartSelfTotal"`
- WesternMedicineCostSelfTotal float64 `json:"westernMedicineCostSelfTotal"`
- WesternMedicineCostTotal float64 `json:"westernMedicineCostTotal"`
- WesternMedicineInscpTotal float64 `json:"westernMedicineInscpTotal"`
- WesternMedicineSelfTotal float64 `json:"westernMedicineSelfTotal"`
- YiliaoLeibie string `json:"yiliao_leibie"`
- HisPatient HisPatient `json:"his"`
- }
-
- type PatientTwos struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- Name string `gorm:"column:name" json:"name" form:"name"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
- ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
- Phone int64 `gorm:"column:phone" json:"phone" form:"phone"`
- Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
- }
-
- func (PatientTwos) TableName() string {
- return "xt_patients"
- }
|