-
Notifications
You must be signed in to change notification settings - Fork 65
Document prefetch token format and update examples (fixes #151) #181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
kpshek
commented
Mar 26, 2018
- {{User.id}} -> {{user}}
- {{Patient.id}} -> {{context.patientId}}
- {{User.id}} -> {{user}} - {{Patient.id}} -> {{context.patientId}}
Hey Kevin, There was some brief conversation about this notion in PR #109.
How far down into a json object is this path syntax intended to support? Note that we're also sidestepping repeating objects. Why not only allow top-level strings to be referenced in context ? Isaac |
… Bryn, and Brett.
… into issue/151-prefetch-tokens
Thanks @isaacvetter & @brynrhodes -- Your feedback has been applied in c6c2a14 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
* #171, #172, #173, #177: Changed Priority to Optionality in all tables. Added Type column to all tables to split type out from description. Fixed several references to Patient.id (changed to context.patientId) and corrected prefetch-template documentation based on new context tokens. Also changed User.id to userId for consistency with hook context names. * #154: Initial draft of hook versioning support (#178) * #154: Initial draft of hook versioning support * #154: Added change log section * #154: Added change log discussion and updated hook definitions * #154: Removed status and changed formatting of hook metadata. * Dropped patch from hook version specifier (when 0). * Document that context should use Bundle, not array (#180) (fixes #158) * iss 158 - context should use Bundle, not array * order-review's context should use Bundle, not array switch from array of fhir orders being placed to bundle of fhir orders in the context for order-review hook * mention FHIR Bundle in context documentation and remove reference to DSTU2-specific FHIR resource * FHIR Bundles in context for new hooks guidance on use of FHIR Bundles in context for new hooks and draft status of in-memory resources * Fixed misspelling ordesr -> orders * fix table formatting add newline * Document prefetch token format and update examples (fixes #151) (#181) * Document prefetch token format and update examples (fixes #151) - {{User.id}} -> {{user}} - {{Patient.id}} -> {{context.patientId}} * Clarify documentation on prefetch tokens after discussion with Isaac, Bryn, and Brett. * Document that the scopes are those defined by SMART on FHIR (fixes #144) (#182) * #171, #172, #173, #177: Changed Priority to Optionality in all tables. Added Type column to all tables to split type out from description. Fixed several references to Patient.id (changed to context.patientId) and corrected prefetch-template documentation based on new context tokens. Also changed User.id to userId for consistency with hook context names. * Cleanup after rebase. * Additional fixes after rebase * Additional fixes after rebase * Remove thematic break to see if that resolves the parse error * Add missing } to JSON example * remove extraneous brace from json example * Fix & format the JSON example * Format JSON example * Added boolean to possible types for hook context.