コード例 #1
0
        public Object PostPatientView([FromBody] HookRequestVM hookInstance)
        {
            CdsServices cdsSvc = new CdsServices();
            List <Card> cards  = cdsSvc.GetPatientViewInsights(hookInstance);

            return(new { cards = cards });
        }
コード例 #2
0
        public Object Post([FromBody] Object hookInstance)
        {
            CdsServices cdsSvc = new CdsServices();
            List <Card> cards  = cdsSvc.GetMedicationPrescribeInsights();

            return(new { cards = cards });
        }
コード例 #3
0
        //public IEnumerable<Object> Get()
        public IHttpActionResult Get()
        {
            CdsServices     cdsSvc = new CdsServices();
            List <HookMeta> ret    = cdsSvc.GetServices();

            return(Ok(new { services = ret }));
        }