Stream: cds hooks
Topic: quick add
David Hay (Mar 18 2016 at 22:03):
should be OK now - I just added them...
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 ...
David Hay (Mar 18 2016 at 22:05):
would be good to get some feedback after the registration btw...
Josh Mandel (Mar 18 2016 at 22:06):
Yeah, I just added this "quick add" feature.
David Hay (Mar 18 2016 at 22:07):
oh, I like it!
Josh Mandel (Mar 18 2016 at 22:08):
Yeah, but better if it worked :p
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...
David Hay (Mar 18 2016 at 22:08):
I'm sure it will!
Josh Mandel (Mar 18 2016 at 22:13):
Yes, the empty prefetch is my fault, and a problem.
Josh Mandel (Mar 18 2016 at 22:13):
Fix being submitted now
Josh Mandel (Mar 18 2016 at 22:13):
OK, deployed the fix. See if that helps, or what breaks next.
Josh Mandel (Mar 18 2016 at 22:15):
Oh good, now it's a problem on your end
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
David Hay (Mar 18 2016 at 22:16):
yeah - I just noticed that!
Josh Mandel (Mar 18 2016 at 22:18):
You should reply in-topic :-) (You're creating no-topic replies.)
David Hay (Mar 18 2016 at 22:30):
oops...
David Hay (Mar 18 2016 at 22:34):
success!
David Hay (Mar 18 2016 at 22:34):
I am now an official decision support service!
David Hay (Mar 18 2016 at 22:34):
just need to figure out how to monetize it...
Brian Postlethwaite (Mar 18 2016 at 22:35):
(if only there was a service that made that decision for you)
David Hay (Mar 18 2016 at 22:36):
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...
David Hay (Mar 18 2016 at 22:37):
btw - I do feel this is a brilliant app Josh for trying this stuff out...
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