Starting a CDS Hooks API guide #71
Replies: 6 comments 2 replies
-
@jamais-vu I'll let you take first read through. Let's correct any typos in-line (just do it live) and keep everything else here. Beyond that, let's think about these things while reviewing:
|
Beta Was this translation helpful? Give feedback.
-
Overall I think it holds up narratively. Each section naturally builds on the previous section. A reader with little prior knowledge could come away having learned enough to know where to start. I especially liked that you offer the reader the option to start in any of the more advanced sections by cloning the starter code up to that point. I'm a big fan of documentation that lets readers choose the level of depth they want and get up to speed as fast as possible. It also means someone who already knows the basic parts can skip to the advanced parts. The setup guides for the CDS Hooks sandbox and Logica sandbox were clear and concise, I had no problems following them to the letter. The only section I think could use more detail is What Is CDS Hooks?. If had never encountered CDS Hooks before, I would need to refer to the spec to know what I'm dealing with. Maybe the definition of "CDS" should go before the definition of "CDS Hook", since knowing what a CDS Hook is depends on knowing what CDS is. Might also be informative to include a diagram of a CDS Hook trigger (eg https://cds-hooks.org/images/overview.png). There were also some phrasing issues scattered throughout, which I'll add as comments to Gitbook since that will make them easier to reference. I tried to be thorough so feel free to disregard ones which seem more like nitpicking than improvements/clarifications. I noticed two issues with the code examples:
Aside from those two points, the code examples were explanatory and ran without problem. (The final section Links, Suggestions, FHIR Queries is still marked "todo" and doesn't look complete so I'll hold off on feedback for that, unless you want me to review it as-is.) In general I liked it and think it's a helpful guide. It's nice to have this information in one place! |
Beta Was this translation helpful? Give feedback.
-
I did a careful read through of the first sections (up until the setup page). I also took @jamais-vu's feedback above into consideration. I then made and merged an edit with the following:
I'll do more of this tomorrow, and more critically I'll read through the actual code sections. |
Beta Was this translation helpful? Give feedback.
-
SetupMerged
FeedbackNothing else, this is good Creating our first serviceMerged
FeedbackAgree with @jamais-vu re:
for this, @mseckykoebel can you add a step at the end of the build section of this first guide that just shows what index.js should look like and then telling them to run |
Beta Was this translation helpful? Give feedback.
-
Just added! Sorry for forgetting to add the step for |
Beta Was this translation helpful? Give feedback.
-
I just finished updating the documentation to match #77, or the enhancements to the API guide pre-connectathon. Can be found here. |
Beta Was this translation helpful? Give feedback.
-
@jdjkelly @jamais-vu right now the v1 of the API guide is done excluding the final section.
The guide starts here: https://docs.sero.run/overview/guides/cds-hooks/getting-started-todo, and goes through to the final section marked todo.
Because the guide is pretty long and through there might be some continuity errors/narrative errors that I might have missed. I appreciate any feedback on making this better!
Beta Was this translation helpful? Give feedback.
All reactions