Eric Haas
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee
  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    --- tags: argo-pl title: Discovery of User-Facing Lists --- {%hackmd 6-QbndXFTIaPJVymLK9qdw %} {%hackmd fIVmWXSnSYeTUeCno9umnw %} # Discovery of user-facing lists [TOC] ```sequence Note left of Client: 1. Discovery:\n Search for user-facing\npatient lists by querying\nthe Server Group endpoint Client->Server:GET Group?_summary=true\n&type=person&... Note right of Server: Return Bundle of\n summary Group resources\n(user-facing lists)\n Server->Client: Bundle ``` A Client App can discover what patient lists it can access by querying an EHR Server using a [FHIR RESTful query](http://build.fhir.org/search.html) on the Server's [Group](http://build.fhir.org/group.html) resource endpoint. Clients **SHALL** use and Servers **SHALL** support using the following *required* search parameters and parameter values for discovery of user-facing lists: - `_summary`="true" - `type`="person". These parameters limit the size of the returned values by omitting the potentially large array of patient references (formally `Group.member`) and explicitly limit the scope to patient lists. The Server returns a [Bundle](http://build.fhir.org/bundle.html) of Group resources representing the user-facing lists. Several examples of using this search syntax are provided below. :::warning For this specification the `_summary` elements Servers **SHALL** include `Group.characteristic` *in addition to* all the standard Group summary elements. For more information on the `_summary` parameter and the expected behavior see this [guidance](http://build.fhir.org/search.html#summary) in base specification. Servers SHOULD mark the resources with the tag SUBSETTED to ensure that the incomplete resource is not accidentally used to overwrite a complete resource. (A [change request](https://jira.hl7.org/browse/FHIR-28208) has been approved to add isSummary flag to `Group.characteristic` to a future version of the FHIR specification) ::: :::warning See the [Smart App Launch Implementation Guide (FHIR IG)](http://hl7.org/fhir/smart-app-launch/history.html) specification for accessing FHIR resources by requesting access tokens from OAuth 2.0 compliant authorization servers and using OAuth scopes to communicate (and negotiate) access requirements. ::: ## Get All User Facing Lists A Client App **MAY** discover *all* patient lists it can access by querying an EHR Server using a FHIR RESTful query on the Server's Group endpoint with the required parameters. To get *all* user facing lists, the Client **SHALL** using the following syntax: `GET [Base]Group?_summary=true&type=person{&...}` The Server **SHALL** return a search Bundle of the available Group resource in summary form representing all the available patient lists for that Client. ### [Example in Postman](https://documenter.getpostman.com/view/1447203/TVssj8hw#baa2835e-f3cb-4111-aab2-c705dc8d2109) :arrow_upper_right: <!-- *Get all user-facing lists* **Request**: `GET [Base]Group?_summary=true&type=person` **Response Body:** {%gist Healthedata1/ef52afd5da1fe62a7be2c5379ead7284 %} --> ## Get All User Facing Lists Managed by an Organization or Practitioner An end user may want to access all user facing lists managed by an organization or practitioner (e.g., "get me all Acme Health's or Dr Leung's patient lists"). The Group resource's `managingEntity` element defines the patient list owner. A Client App **MAY** discover all available patient lists that are managed by a particular organization or practitioner using a FHIR RESTful query on the Server's Group endpoint using the required parameters and the `managing-entity` search parameter. To get all Organization or Practitioner managed user facing lists, the Client **SHALL** use the following syntax: `GET Group?_summary=true&type=person&managingEntity=Organization/[id]{&...}` or `GET Group?_summary=true&type=person&managingEntity=Practitioner/[id]{&...}` The Server **SHOULD** support the managingEntity search parameter and return a search Bundle of the available Group resource in summary form representing all the available patient lists filtered by a particular managing organization or practitioner. :::info the `managing-entity` [SearchParameter definition](/u8iAyzZ0SGahQdbVzYpfoQ) is extended from the base specification to allow for "OR" search parameter using multiple values separated by a comma. (Formally it defines the element `multipleOr` = "true" with a Server conformance expectation = **MAY**.) ::: ### [Example in Postman](https://documenter.getpostman.com/view/1447203/TVssj8hw#e19526e5-c013-4843-9238-57adcd59be79) :arrow_upper_right: <!-- *Get all system-maintained patient lists managed by CAMBRIDGE HEALTH ALLIANCE* **Request**: `GET Group?_summary=true&type=person&managingEntity=Organization%2Fe002090d-4e92-300e-b41e-7d1f21dee4c6' **Response Body:** {%gist Healthedata1/8a75d72a326e8db464028e609d1ee043 %} --> ## Get All User Facing Lists Based on a Member Characteristic An end user may want to access all user facing lists that are based upon some common list member characteristic such a location or practitioner (e.g., "Hillcrest Ward A Patients" or "Patient's I am seeing today"). The Group resource's `characterstic` element defines the patient list member's shared attributes such as location or practitioner. A Client App **MAY** discover all available patient lists that have a particular characteristic using a FHIR RESTful query on the Server's Group endpoint using the required parameters and the *combination* of: 1. the standard`characteristic` search parameter using an initial set of values defined by the [Argonaut Patient List Characteristic Codes](/lNNapOQPQeOoiRNEb0cjSQ): {%hackmd MX4laxCtQ3SOYVI2aOTcIw %} 2. the custom`value-reference` search parameters. :::info [`value-reference`](/f-1jjPG7T-Wsz4-k0XqJHg) is a custom SearchParameter defining search of the Group resource by a Group.characteristic.valueReference element value. It permits "OR" searches using multiple values separated by a comma, and "And" search searches using multiple search parameters separated by an "&". (Formally it defines the elements `multipleOr` = "true" and `multipleAnd` = "true" with a Server conformance expectation = **SHOULD**.) ::: The following table summarizes the combinations of search parameters to search by patient list characteristic: |characteristic|code|value-reference|reference| |:---:|:---:|:---:|:---:| |characteristic|location|value-reference|Location/\[location\_id\]| |characteristic|practitioner|value-reference|Practitioner/\[practitioner\_id\]| |characteristic|organization|value-reference|Organization/\[organization\_id\]| |characteristic|careteam|value-reference|CareTeam/\[careteam\_id\] To get all user facing lists based on the characteristics defined above, The Client **SHALL** use the following syntax: `GET Group?_summary=true&type=person&characteristic=[code]&value-reference=[reference]{&...}` The Server **SHOULD** support search by patient list characteristic and return a search Bundle of the available Group resource in summary form representing all the available patient lists filtered by a patient list characteristic. :::warning These parameters do not enable a Client to filter a list client-side to show only certain members, since all the members in the patient-list are defined to meet the group characteristic. ::: ### [Example in Postman](https://documenter.getpostman.com/view/1447203/TVssj8hw#0b40d8fd-c1b8-4a81-accd-b051fdee3eab) :arrow_upper_right: <!-- *Get all patient lists for location BETH ISRAEL DEACONESS HOSPITAL - PLYMOUTH* `http://hapi.fhir.org/baseR4/Group?_summary=true&_count=50&type=person&characteristic=location&value-reference=Location/33b34318-015b-450a-ab5f-4e8b66b2654b` **Response Body:** {%gist Healthedata1/f82fbd16a1ec81e3ace172b97c985c8d %} --> {%hackmd 4AMMqV_dQqmCrx1yZibv7Q %}

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully