FHIR Chat · quick add · cds hooks

Stream: cds hooks

Topic: quick add


view this post on Zulip David Hay (Mar 18 2016 at 22:03):

should be OK now - I just added them...

view this post on Zulip David Hay (Mar 18 2016 at 22:04):

and now, after registering my service (and I see I need one different to 'hello world') the UI displays a 'Loading cards...' and stops
I've killed it ...

view this post on Zulip David Hay (Mar 18 2016 at 22:05):

would be good to get some feedback after the registration btw...

view this post on Zulip Josh Mandel (Mar 18 2016 at 22:06):

Yeah, I just added this "quick add" feature.

view this post on Zulip David Hay (Mar 18 2016 at 22:07):

oh, I like it!

view this post on Zulip Josh Mandel (Mar 18 2016 at 22:08):

Yeah, but better if it worked :p

view this post on Zulip David Hay (Mar 18 2016 at 22:08):

interstingly, here's the registration in the app:

{
  "id": "http://107.170.196.80:3000/cdshook/helloworld/$cds-hook",
  "enabled": true,
  "url": "http://107.170.196.80:3000/cdshook/helloworld/$cds-hook",
  "activity": "patient-view",
  "preFetchTemplate": {
    "resourceType": "Bundle",
    "type": "transaction",
    "entry": []
  }
}

an empty preFetchTemplate...

view this post on Zulip David Hay (Mar 18 2016 at 22:08):

I'm sure it will!

view this post on Zulip Josh Mandel (Mar 18 2016 at 22:13):

Yes, the empty prefetch is my fault, and a problem.

view this post on Zulip Josh Mandel (Mar 18 2016 at 22:13):

Fix being submitted now

view this post on Zulip Josh Mandel (Mar 18 2016 at 22:13):

OK, deployed the fix. See if that helps, or what breaks next.

view this post on Zulip Josh Mandel (Mar 18 2016 at 22:15):

Oh good, now it's a problem on your end

view this post on Zulip Josh Mandel (Mar 18 2016 at 22:15):

Request URL:http://107.170.196.80:3000/cdshook/helloworld/$cds-hook
Request Method:POST
Status Code:404 Not Found

view this post on Zulip David Hay (Mar 18 2016 at 22:16):

yeah - I just noticed that!

view this post on Zulip Josh Mandel (Mar 18 2016 at 22:18):

You should reply in-topic :-) (You're creating no-topic replies.)

view this post on Zulip David Hay (Mar 18 2016 at 22:30):

oops...

view this post on Zulip David Hay (Mar 18 2016 at 22:34):

success!

view this post on Zulip David Hay (Mar 18 2016 at 22:34):

I am now an official decision support service!

view this post on Zulip David Hay (Mar 18 2016 at 22:34):

just need to figure out how to monetize it...

view this post on Zulip Brian Postlethwaite (Mar 18 2016 at 22:35):

(if only there was a service that made that decision for you)

view this post on Zulip David Hay (Mar 18 2016 at 22:36):

:smile:

view this post on Zulip David Hay (Mar 18 2016 at 22:37):

btw - UI hint - after you click 'configure hooks', to get back to the patient display you click it again. Might be good to change the label...

view this post on Zulip David Hay (Mar 18 2016 at 22:37):

btw - I do feel this is a brilliant app Josh for trying this stuff out...

view this post on Zulip Josh Mandel (Mar 19 2016 at 01:43):

Thanks David. As we move towards a Metadata specification, the "configuration" page should get much simpler. And yes the button needs a different label (and shouldn't mysteriously swap places with its neighbor)


Last updated: Apr 12 2022 at 19:14 UTC