package thyyxxk.webserver.service.externalhttp;

import com.alibaba.fastjson.JSONObject;
import com.dtflys.forest.annotation.JSONBody;
import com.dtflys.forest.annotation.Post;
import com.dtflys.forest.annotation.Var;
import thyyxxk.webserver.entity.crbmanagement.BaseDept;
import thyyxxk.webserver.entity.crbmanagement.BaseUser;
import thyyxxk.webserver.entity.crbmanagement.EmrPatientInfo;

public interface CrbUploadService {

    @Post("{url}/hclient/emr/receive/baseUser")
    JSONObject uploadBaseUser(@Var("url") String url, @JSONBody BaseUser baseUser);

    @Post("{url}/hclient/emr/receive/baseDept")
    JSONObject uploadBaseDept(@Var("url") String url, @JSONBody BaseDept baseDept);

    @Post("{url}/hclient/emr/receive/baseDept")
    JSONObject uploadEmrPatientInfo(@Var("url") String url, @JSONBody EmrPatientInfo emrPatientInfo);



}
